September 23, 2009

AppleScript compatibility with Photoshop on Snow Leopard

Photoshop scripting expert Jeff Tranberry has passed along some useful info:

If you're using AppleScript to automate Photoshop on Mac OS X 10.6 (Snow Leopard), you'll want to update the Adobe Unit Types.osax scripting addition.

The Adobe Unit Types.osax file that ships with Photoshop CS4 and CS3 is a 32-bit component. Snow Leopard requires some scripting environments to be 64-bit.

Please see the following Knowledge Base article for additional details: Error about unit type conversion occurs when you run an AppleScript in Photoshop (Mac OS X 10.6)

Posted by John Nack at 7:12 AM on September 23, 2009

Comments

yung kim — 1:45 PM on September 23, 2009 Reply to this comment

apple user must be retarded to play this game.

any other intelligent people would leave the playground.

Caleb Clauset — 3:05 PM on September 23, 2009 Reply to this comment

As I commented in the actual technote, why isn't replacing the osax file the first suggested solution? And someone needs to correct the spelling ("authenticate" not "authente").

[Thanks for the catch. Doc now updated. 9 minutes from comment to fix! :-) --J.]

jeffrey Tranberry — 8:28 PM on September 23, 2009 Reply to this comment

We also added a note that a restart of the computer is necessary for the change to take affect.

Kevin — 6:07 AM on September 24, 2009 Reply to this comment

Is this related to these error messages I get in system.log on 10.6:

Sep 24 08:43:28 osascript[30432]: Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found. Did find:\n /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper


I'm not using any applescript with PS....but I randomly get this error showing up in Console.

-Kevin

Mario — 6:37 AM on September 24, 2009 Reply to this comment

@Adobe: Millions dollar with adobe products are earned. What all day long do the programmers make? A dishonor is that. I say it reluctantly, but that is not which I of adobe would have expected. You should you being ashamed!
And which is with applescript? Hey, I wants to work on pictures and any scripte not start before I CS4 starts!

Post a comment

Remember Me?