Forgive me as I am a newbie here.
I have been using Apple Scripts to fire JSX files in both CS3 and CS4 with quite a bit of success.
With the release of CS5 my same Apple Scripts seem to fail.
tell application "System Events" to set appName to name of first application process whose frontmost is true
if appName contains "Adobe Photoshop CS5" then
set appsFolder to get path to applications folder
set psFolder to "/Applications/Adobe Photoshop CS5/Presets/Scripts/RPGkeys Scripts Only"
tell application "Finder"
set psFolder to (psFolder as POSIX file) as alias
set myPath to (item "4.jsx" of psFolder) as alias
tell application "Adobe Photoshop CS5"
-------end apple script----------
tell application "Adobe Photoshop CS5" to open file "/Applications/Adobe Photoshop CS5/Presets/Scripts/RPGkeys Scripts Only/10.jsx"
------ End Apple Script #2.
Message was edited by: RPG KEYS
I've found the following construction works: