• 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: Tue, 21 Dec 2004 15:01:21 -0700

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!).

thanks,

Rick Darenberg
--------------------------------------------------
The most insightful thing done to the Windows 9X
"Start" menu was to make "Shut down" the first option.


On Dec 20, 2004, at 10:13 PM, email@hidden wrote:

On Dec 20, 2004, at 11:21 PM, Richard Darenberg wrote:

I'm a newby to Applescript but I'm looking for a way to check iTunes
for a shared library and if it's there
select a playlist from that shared library.

Hi Rick,

This will give you a list of all the name of all playlists on the first
shared library that iTunes is currently connected to

--Tested with iTunes 4.7
tell application "iTunes"
set theSource to first item of every source whose kind is shared
library
name of every playlist of theSource
end tell


The list of playlists will begin with the name of the shared library
itself.
When you say, "select a playlist from that shared library," what
exactly do you want to do? Have iTunes show the tracks of the shared
library? Or do you mean play that playlist?

Hope this helps...


--
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: Finder acting up
  • Next by Date: Unicode text and the annoying relic called "styled text"
  • Previous by thread: Re: iTunes help
  • Next by thread: Re: iTunes Help
  • Index(es):
    • Date
    • Thread