Another large bug…

Another bug, but this one isn’t my fault…

The OSAX module provided by Adobe for Photoshop messes up the way that applescript is handled. Some of the recording and setting methods in Airport Location use applescript, as do other programs.

The Adobe Unit Types.osax file that shipped with Photoshop CS4 and CS3 is a 32-bit component. Mac OS X 10.6 (Snow Leopard) requires some 64-bit scripting environments. Use the following solutions to resolve the unit type error:

Solution 1: Update the Adobe Unit Types.osax to version 2.1.0.

  1. Click this link to download the Adobe Unit Types.osax version 2.1.0 file.
  2. Choose /Library/ScriptingAdditions.
  3. Move the existing Adobe Unit Types.osax file to a backup location.
  4. Copy the downloaded version of the Adobe Unit Types.osax file to the /Library/ScriptingAdditions folder. Select Yes to authenticate this operation.
  5. Restart your computer.

Solution 2: Run AppleScript Editor in 32-bit mode.

  1. Choose Get Info on the AppleScript Editor.
  2. Select Open in 32-bit mode.

Solution 3: Use the Arch command in your command-line tool.

Instead of executing “osascript xx”, execute “arch -i386 osascriptxx”.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: