|
|
#1 |
|
Prospect
Join Date: Jan 2013
Posts: 1
|
Hi there. I am a first time poster and Im looking for some real help.
I am new to AppleScript, and I am setting a hot folder to PS CS4. Once a file is dragged to this folder, open Photoshop automatically to do one action. And then save this file. That's all. I have read through several solutions through some forums, and tried one by myself. ---------------------------------------------------------------------- on adding folder items to thisFolder after receiving theseFiles tell application "Adobe Photoshop CS4" launch repeat with thisFile in theseFiles open thisFile showing dialogs never tell current document do action "Add ICC" from "Set 1" end tell end repeat end tell end adding folder items to ---------------------------------------------------------------------- But if I compile, 1. there is an error :Expected end of line but found identifier. The word "showing" in "open thisFile showing dialogs never" is highlighted. I checked this error, the applescript says that there is a space... 2. I just use "open thisFile" to try, another error: Expected end of line but found class name. And then "document" of "tell current document" is highlighted. 3. I also delte "tell current document" to test again, then "action" is highlighted and the error: "Expected end of line but found identifier." This script is followed by script manual of PS CS4. I don't know where the problems are.... I am using OSX 10.8.1 Can anyone give me some advice? Thank you! |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|