Thanks to everyone who looked into this. I'm sorry to see that you all came
to the same conclusion as I did, which is that Photomerge is robustly
resistant to scripting. In any case. I appreciate the help.
On 4/17/09 1:28 AM, "Stan Cleveland" <email@hidden> wrote:
> 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"
>> 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
> 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.
Imaging & Visual Services
National Gallery of Art
Phone: (202) 712-7471
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden