TUAW Script Fails
TUAW Script Fails
- Subject: TUAW Script Fails
- From: Bruce Robertson <email@hidden>
- Date: Mon, 02 Apr 2007 12:43:47 -0700
From:
<http://www.tuaw.com/2007/04/02/terminal-tip-now-playing-info-from-the-comma
nd-line/>
I tried this, but it doesn't seem to work. When I enter the osascript part
directly in terminal I get a long list of errors.
osascript -e 'tell application "iTunes" to if player state is playing then
"Now Playing: " & name of current track & " - " & artist of current track'
Result - a long list of errors, partial list below:
[iMac24:~] bruce% osascript -e 'tell application "iTunes" to if player state
is playing then "Now Playing: " & name of current track & " - " & artist of
current track'
2007-04-02 12:30:54.237 osascript[23477] CFLog (21): dyld returns 2 when
trying to load
/Library/ScriptingAdditions/ConvexPoly.osax/Contents/MacOS/ConvexPoly
2007-04-02 12:30:54.240 osascript[23477] CFLog (21): dyld returns 2 when
trying to load
/Library/ScriptingAdditions/dialModemOSAX.osax/Contents/MacOS/dialModemOSAX
2007-04-02 12:30:54.254 osascript[23477] CFLog (21): dyld returns 2 when
trying to load
/Library/ScriptingAdditions/Resampler.osax/Contents/MacOS/Resampler
2007-04-02 12:30:54.266 osascript[23477] CFLog (21): dyld returns 2 when
trying to load
/Library/ScriptingAdditions/ScriptDB.osax/Contents/MacOS/ScriptDB
2007-04-02 12:30:54.268 osascript[23477] CFLog (21): dyld returns 2 when
trying to load
/Library/ScriptingAdditions/SpecialFunctions.osax/Contents/MacOS/SpecialFunc
tions
2007-04-02 12:30:54.271 osascript[23477] CFLog (21): dyld returns 2 when
trying to load
/Library/ScriptingAdditions/SQLiteAddOns.osax/Contents/MacOS/SQLiteAddOns
_______________________________________________
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