Re: Load Photoshop Actions
Re: Load Photoshop Actions
- Subject: Re: Load Photoshop Actions
- From: Stan Cleveland <email@hidden>
- Date: Wed, 14 Apr 2010 16:25:46 -0700
- Thread-topic: Load Photoshop Actions
On 4/14/10 3:16 PM, "Simon, Garry" wrote:
> Hi, does anyone know if it's possible to use a script to have Adobe Photoshop
> check to see if an action set exists, and if not, load it? Sort of the way
> InDesign can be scripted to load presets?
Hi Garry,
Neither AppleScript, nor Photoshop¹s internal javascript, directly supports
what you need. However, you *can* indirectly test for the existence of a
particular action in a particular set this way:
tell application "Adobe Photoshop CS4"
try
do action "My Action" from "My Set"
on error number 8800 -- action or set not found
-- handle error as desired
end try
end tell
My question to you is, why not rewrite the steps of your action(s) in
AppleScript (or javascript)? Besides keeping the basic functionality, you
could have better user interaction and the option of conditional branching.
Just a thought,
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:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden