Re: iTunes script problems
Re: iTunes script problems
- Subject: Re: iTunes script problems
- From: Chuck <email@hidden>
- Date: Fri, 20 Nov 2009 07:23:27 -0800
I can get this to play one song, then it's back to other artists.
It might be that I have the shuffle set for all songs.
I will modify that in the script and see of that makes it work.
Chuck
On Nov 20, 2009, at 1:23 AM, Simone Paoletti wrote:
This works fine for me:
set author to the text returned of (display dialog "Which author
name ?" default answer "U2")
tell application "iTunes"
set myTunes to get search playlist "Music" for author
repeat with thisTune in myTunes
set theTitle to the name of thisTune
set theTime to the duration of thisTune
-- display dialog theTitle default answer "ok" giving up after 1
play thisTune
delay theTime
end repeat
end tell
Simone Paoletti
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
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