• 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
RE: iTunes Help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: iTunes Help


  • Subject: RE: iTunes Help
  • From: Richard Darenberg <email@hidden>
  • Date: Wed, 22 Dec 2004 20:28:04 -0700

Chris,

That did it. Thanks a ton. Do you know if you can specify the shuffle option for the playlist?
I searched the dictionary but didn't find it.


thanks again,

Rick


On Dec 22, 2004, at 5:10 AM, email@hidden wrote:


On Dec 21, 2004, at 5:01 PM, Richard Darenberg wrote:

Chris,

Thanks for responding so quickly. Unfortunately, this script would
compile but not run. The error message
was "handler only handles single objects"

Also, I wasn't very clear on what I was trying to do. I really only
want to play music from a playlist on a shared library.
I was thinking for error checking purposes, I should first make sure
the shared library was available before trying to play it.

Is there a special way to tell iTunes to play music on a shared
library? My shared library name is "PM Server Music" and the
playlist I'm looking for is called "Christmas". (Imagine that!).

Rick,

Sorry about that - the second line of the script (after the tell block
opens) should be:
set theSource to first item of (every source whose kind is shared
library)
I'd forgotten to put the parentheses in there.

Try this script out to play music from the shared library

--Tested with iTunes 4.7,
tell application "iTunes"
  	set theSource to first item of (every source whose kind is shared
library and name is "NilTunes")
	set thePlaylists to every playlist of theSource
	set thePlaylist to item 1 of (every playlist of theSource whose name
is "Chrismas") 	play first track of thePlaylist
end tell


And of course, let me know how it goes.


-- Chris Garaffa email@hidden http://incessant.nilzero.com


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: iTunes Help
      • From: Chris Garaffa <email@hidden>
  • Prev by Date: Changing Printers
  • Next by Date: Re: iTunes Help
  • Previous by thread: Re: iTunes Help
  • Next by thread: Re: iTunes Help
  • Index(es):
    • Date
    • Thread