osascript で Adobe Unit Types.osaxのエラー
Snow Leopard で osascript を実行しようとすると Adobe Unit Types.osax が
no matching architecture だとか言って動かない。
(64bit未対応のAdobeのアプリ入れてる人のみ?)
$ osascript test.scpt 2009-10-13 15:41:47.865 osascript[253:903] 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: /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper osascript: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/Adobe Unit Types.osax" declares no loadable handlers. You Mean the World
Adobe からアップデータが出てるので /Library/ScriptingAdditions の
Adobe Unit Types.osax を 2.1.0 と入れ替えればオーケー