Re: iTunes script problems
Re: iTunes script problems
- Subject: Re: iTunes script problems
- From: Chuck <email@hidden>
- Date: Thu, 19 Nov 2009 21:58:58 -0800
Almost there.
It plays one song and then goes back to other songs (I have it on shuffle). I am trying to get it to select just one group and play only their music.
At least this plays one song of the group I requested.
Chuck I think you want something like this:
tell application "iTunes" set myTunes to get search playlist "Saddest Songs Ever" for "Nilsson" repeat with thisTune in myTunes play thisTune end repeat end tell
The search returns a list, of songs, even if it's just one, so you can either step through the list or play item 1 of the list:
HTH,
ES On Nov 19, 2009, at 3:45pm, Chuck wrote: tell application "iTunes" get search playlist "Get er done P1OFF" for "Moody Blues" end tell
|
_______________________________________________
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