Subject: | |
From: | |
Reply To: | |
Date: | Fri, 19 Nov 2010 21:19:51 +0900 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Hello Shane,
Thank you for your prompt reply.
On Nov 19, 2010, at 3:07 PM, Shane Stanley wrote:
> set theScript to "var id3 = charIDToTypeID( \"Lvls\" );
> var desc2 = new ActionDescriptor();
> var id4 = stringIDToTypeID( \"autoBlackWhite\" );
> desc2.putBoolean( id4, true );
> var id5 = stringIDToTypeID( \"autoNeutrals\" );
> desc2.putBoolean( id5, true );
> executeAction( id3, desc2, DialogModes.NO );
> "
> tell application "Adobe Photoshop CS4"
> activate
> tell current document
> do javascript theScript show debugger on runtime error
> end tell
> end tell
>
This worked perfectly. Thank you very much!
I have now a simpler question: how do I save a jpeg file in another
jpeg file.
I tried:
tell application "Adobe Photoshop CS4"
activate
save current document in file "Macintosh HD:Users:me:Desktop:0001.jpg"
end tell
but it saves the file in "Macintosh HD:Users:me:Desktop:0001.psd".
Thank you very much in advance.
Best regard,
Nobumi Iyanaga
Tokyo,
Japan
|
|
|