Newbie here.
I'm running a Photo Booth program in Automator. It uses this code to run a photoshop action:
on run {input, parameters}
--set theImage to choose file with prompt "Please select an image file:"
--display alert class of (theImage as alias) buttons {"OK"} as warning
set theImage to input
tell application "Adobe Photoshop CS4"
open file (theImage as text) as Camera RAW showing dialogs never
do action "OneCopyColourDFS" from "Photobooth" --replace 'name' and 'group' with the correct items from Photoshop; the "group" is the folder the action appears under in Photoshop; capitalization and spacing matter
end tell
return input
end run
However, I have updated the Photoshop version to CS6. However, when I change -tell application "Adobe Photoshop CS4"- to -tell application "Adobe Photoshop CS6"-
...and run the Automator, it instantly switches back to 'CS4' when it runs the Applescript. Why? I'm assuming it must be Automator doing something?
Thanks in advance for any help?
Leonard