Re: Photomerge
Re: Photomerge
- Subject: Re: Photomerge
- From: Stan Cleveland <email@hidden>
- Date: Thu, 16 Apr 2009 22:28:41 -0700
- Thread-topic: Photomerge
On 4/16/09 6:27 PM, "Shane Stanley" wrote:
> On 17/4/09 10:41 AM, "Stan Cleveland" <email@hidden> wrote:
>
>> The file "Photomerge.jsx" inside the "Scripts"
>> folder of the "Presets" folder is definitely javascript.
>
> So it is, interesting. It has a function to allow calling from another js
> script, presumably used by Bridge. So it should be possible to hardwire all
> the ScriptUI stuff and call it via do script. Kind of stretches my
> javascript patience...
I was hoping that ScriptingListener might prove useful with Photomerge, as
it does with so many other "unAppleScriptable" operations in Photoshop.
Alas, the tiny chunk of code it generates appears to just record the
triggering of the JS code file. It's completely worthless for AS use:
var id1 = stringIDToTypeID( "AdobeScriptAutomation Scripts" );
var desc1 = new ActionDescriptor();
var id2 = charIDToTypeID( "jsCt" );
desc1.putPath( id2, new File(
"/Applications/Adobe Photoshop CS3/Presets/Scripts/Photomerge.jsx" ));
var id3 = charIDToTypeID( "jsMs" );
desc1.putString( id3, "undefined" );
executeAction( id1, desc1, DialogModes.NO );
I think you're right, Shane, this is a tough one.
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