New Message: Frontier driving PhotoScripter through AppleEvents
webmaster at userland.com
webmaster at userland.com
Sun Oct 14 08:55:07 PDT 2001
A new message was posted:
Address: http://frontier.userland.com/discuss/msgReader$8935
By: Peter Chapman (pchapman at workflowbydesign.com)
I have a very specific question regarding driving Photoshop (more specifically, the PhotoScripter plugin) from Frontier. I can get pretty much everything working as desired apart from the save command.
The following AppleScript works without any problems:
tell application "Adobe® Photoshop® 5.5"
save document "test.eps" in file "Data:test.jpg" as JPEG {image quality:5, baseline optimized:true} with making copy
end tell
The equivalent Usertalk script shold go something like:
with objectmodel, photoshop55, eventInfo {
save(document["test.eps"], "test.jpg", jpeg[{imageQuality:5, baselineOptimized:true}], makingCopy:true)}
The usertalk script results in the following error message:
photoshop55 reported the following error: Invalid item specification for this list..
I have used the Capture AE Control panel utility to extract the events and the problem appears to be in the way the jpeg class is being interpreted as shown in the following AppleEventsnippets:
More information about the Frontier-Server
mailing list