Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Photomerge
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Photomerge



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.

Ken


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"
>>> 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.

--
Ken Fleisher

Photographer
Imaging & Visual Services
National Gallery of Art
Washington, D.C.

Phone: (202) 712-7471
email@hidden

 _______________________________________________
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

References: 
 >Re: Photomerge (From: Stan Cleveland <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.