新手在這裏。升級現有的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