Re: Launch Photoshop action (was: Choose File)
Re: Launch Photoshop action (was: Choose File)
- Subject: Re: Launch Photoshop action (was: Choose File)
- From: Stan Cleveland <email@hidden>
- Date: Thu, 19 Oct 2006 19:33:33 -0700
- Thread-topic: Launch Photoshop action (was: Choose File)
On 10/19/06 6:34 PM, david okner wrote:
> i need a script that will launch the action "save as
> photoshop pdf" from photoshop.
>
> any and all help is most appreciated!
There are three basic approaches, all shown here. You can copy the lines of
code below and paste them into Script Editor for experimenting. You'll need
to replace my dummy names and paths with your real information.
tell application "Adobe Photoshop CS2"
-- perform action once
do action "save as photoshop pdf" from "my action set"
-- batch without options
batch "save as photoshop pdf" from "my action set" ¬
from files {"disk:folder:file.tif", "disk:folder:file2.tif"}
-- batch with options
set myOptions to {destination:folder, destination folder:¬
"disk:folder2:", file naming:{document name lower, extension lower} ¬
, macintosh compatible:true, override open:true ¬
, override save:true, suppress open:true, suppressprofile:false}
batch "save as photoshop pdf" from "my action set" from files ¬
{"disk:folder:file.tif", "disk:folder:file2.tif"} with options myOptions
end tell
I've not used the "batch" command myself yet, so can't offer any caveats or
advice. Information about the various batch options is available in the
Photoshop CS2 dictionary, which you can access from Script Editor. Also,
other batch options are listed there that you can investigate further.
Stan C.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden