If you see this bizarre error when using the osascript command:
2011-02-01 14:11:28.727 osascript[11990: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
it apparently has to do with the mixing of 32 and 64-bit architectures. I don't know what the
real fix is, but the workaround is to force osascript to use 32-bit like this:
arch -i386 /usr/bin/osascript -e '[your applescript]'
No comments:
Post a Comment