• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
iTunes play property
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: iTunes play property
      • From: garbanzito <email@hidden>
    • Re: iTunes play property
      • From: dave dowling <email@hidden>
  • Prev by Date: Apple: Please deal with basics
  • Next by Date: Auto type text
  • Previous by thread: Re: Apple: Please deal with basics
  • Next by thread: Re: iTunes play property
  • Index(es):
    • Date
    • Thread