iTunes play property
iTunes play property
- Subject: iTunes play property
- From: Lee Azzarello <email@hidden>
- Date: Sat, 20 Apr 2002 04:04:01 -0700 (PDT)
Hello all. I'm new. To this list and to AppleScript (wow, AppleScript
looks so much like English, he said at first glance). I hope my questions
don't sound silly.
I'm setting up an internet radio station and after many headaches with
Linux apps and Perl scripting, we dug up an old beige G3 desktop and it's
now running OS X. I am trying to set up iTunes as the
automated/scriptable jukebox for the station. Here's my first problem:
tell application "iTunes"
activate
set bumper to the track named "station-id" in library playlist
play bumper
end tell
this does not work. It produces an error like so:
"can't get track named "station-id" in library playlist."
The track's there. It's in the Library path I defined in the prefs AND in
the default Library in my home dir, just to be safe. iTunes won't see it.
In fact, I can't play ANY track in the Library by name.
Ideas appriciated.
-l[e^2]
-----------------
chmod -R 777 /
chown -R nobody /
imagine true freedom
public key
http://eds.org/~lee/pgp.txt
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.