Load Photoshop Actions Solution
Load Photoshop Actions Solution
- Subject: Load Photoshop Actions Solution
- From: "Simon, Garry" <email@hidden>
- Date: Mon, 26 Apr 2010 10:31:49 -0500
- Acceptlanguage: en-US
- Thread-topic: Load Photoshop Actions Solution
A couple of weeks ago I wrote to this forum and asked if anyone
knew how to determine if a Photoshop action was missing, and how to load and
run it if it was. Some of you responded with answers, for which I am grateful.
I did some experimenting, and found that the following works, if anyone has use
for it.
set
MyActionSet to ("PathToActions:My Action Set")
tell
application
"Adobe
Photoshop CS4"
try
do
action
"myAction" from "My Action
Set"
on
error
try
load
MyActionSet
delay 1
try
do action
"myAction" from "My Action
Set"
on
error
e
display dialog e with icon 0 buttons {" Cancel
"}
default button 1
giving up after 30
close
current document saving no
end
try
end
try
end
try
end
tell
|
_______________________________________________
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