新手在这里。升级现有的Applescript/Automator程序中的Photoshop版本
我在Automator中运行Photo Booth程序。它使用此代码运行Photoshop的动作:
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
不过,我已经更新了版本的Photoshop CS6来。但是,当我改变 - 告诉应用程序 “的Adobe的Photoshop CS4” - 到 - 告诉应用程序 “的Adobe Photoshop CS ” -
...并运行的Automator,它会立即切换回 'CS4'当它运行Applescript时。为什么?我假设它必须是Automator做些什么?
在此先感谢您的帮助?
伦纳德
你有两个版本安装? – vadian
Hi @vadian是的CS4和CS6都安装在Appliactions中。 – LeonardJG
如果你退出CS4并启动CS6,你还看到它启动CS4吗? – ThrowBackDewd