Re: TUAW Script Fails
Re: TUAW Script Fails
- Subject: Re: TUAW Script Fails
- From: Peter Baxter <email@hidden>
- Date: Tue, 3 Apr 2007 05:59:39 +1000
Hi Bruce,
Your script works nicely on my computer. Perhaps, if this is only
part of the script, the error is elsewhere.
On 03/04/2007, at 5:43 AM, Bruce Robertson wrote:
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'
Peter Baxter
email@hidden
"Never ask a man what computer he uses. If it's a Mac, he'll tell
you. If it's not, why embarrass him?" --Tom Clancy
_______________________________________________
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