New Message: Re: Frontier driving PhotoScripter through AppleEvents
webmaster at userland.com
webmaster at userland.com
Sun Oct 14 11:21:10 PDT 2001
A new message was posted:
Address: http://frontier.userland.com/discuss/msgReader$8936
By: Steve Hooker (shooker at udena.ch)
I can't answer you specific problem. Only to say that I too have just discovered the wonders of Frontier running Photoshop. In my case it's 6.0.1. In the tiny verb set in Frontier there's one gem. DoScript. Which simply plays an action on a photo or series of photos. And since the actions can open, close, save to different folders in dfferent formats, whould that not be easier?
The verb is
<nobr>on doScript (s, doScriptWith = nil, overrideOpen = nil, includeSubfolders = nil, overrideSave = nil, saveAndClose = nil, saveTo = nil, log = nil) { «Play the specified Action.</nobr>
<nobr> return (appleEvent (photoshop.id, 'misc', 'dosc', '----', string (s), 'File', alias (doScriptWith), 'OvrO', boolean (overrideOpen), 'Fldr', boolean (includeSubfolders), 'Ovrd', boolean <nobr>
<nobr>(overrideSave), 'SvAn', boolean (saveAndClose), 'T ', alias (saveTo), 'Log ', alias (log)))}</nobr>
I call it like this:
system.verbs.apps.photoshop.bringToFront ();
system.verbs.apps.photoshop.openDocument (filespec (string (f)));
case thing {
"Oils" {
system.verbs.apps.photoshop.doScript ("put it altogether")};
"softie" {
system.verbs.apps.photoshop.doScript ("softie")}}
HTH
This is a Manila site.. http://manila.userland.com/.
More information about the Frontier-Server
mailing list