Script Fails in Snow Leopard - Adobe Unit Types.osax
Script Fails in Snow Leopard - Adobe Unit Types.osax
- Subject: Script Fails in Snow Leopard - Adobe Unit Types.osax
- From: Paul Scott <email@hidden>
- Date: Tue, 1 Sep 2009 14:28:39 -0700
The following script worked fine in Leopard. In Snow Leopard it gets
an error seen below when ssh finishes. Oddly (to me, anyway), it seems
to be complaining about "Adobe Unit Types.osax" but that's nothing
that I knowingly use.
Can anybody tell me what the problem is?
Paul
-- THIS SCRIPT WILL INVOKE PINE ON THE REMOTE MACHINE KNOWN AS "haven"
tell application "Terminal"
activate
set w to front window
if busy of w then
set w to do script ""
end if
set s to ""
set s to s & "/bin/sh -c '"
set s to s & "ssh -t haven pine;"
set s to s & "COUNT=$(osascript -e \"tell application \\\"Terminal\\
\" to get count of windows\");"
set s to s & "if [ 0$COUNT -le 1 ] ; then "
set s to s & "osascript -e \"tell application \\\"Terminal\\\" to
quit saving no\";"
set s to s & "else "
set s to s & "osascript -e \"tell application \\\"Terminal\\\" to do
script \\\"exit\\\" in selected tab of front window\";"
set s to s & "fi"
set s to s & "'"
do script s in w
end tell
/bin/sh -c 'ssh -t vps pine;COUNT=$(osascript -e "tell application
\"Terminal\" to get count of windows");if [ 0$COUNT -le 1 ] ; then
osascript -e "tell application \"Terminal\" to quit saving no";else
osascript -e "tell application \"Terminal\" to do script \"exit\" in
selected tab of front window";fi'
Pine finished -- Closed folder "INBOX". Kept all 32 messages.
Connection to secure.the-frontier.org closed.
2009-09-01 14:21:54.152 osascript[1814: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.
2009-09-01 14:21:54.228 osascript[1815: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.
31:45: execution error: Terminal got an error: User canceled. (-128)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden