If I do this:
1. Bring iTunes in first pane
2. press right arrow key or "/" key
3. select playlist
4. repeat step 2
5. select track and hit return
then the track plays in the "Music" playlist instead of the actual
playlist and therefore the next track in the same playlist will not
play after the first track has finished playing. Instead, the next
track in the "Music" playlist will be played. So, I made an attempt to
write a script to fix this.
try
        tell application "iTunes" to set theplaylists to name of every
playlist
        tell me to activate
        set chooseFile to (choose from list theplaylists with title "Open
Recent" with prompt "Choose File(s):")
        set theplaylist to the result
        set theplaylist to theplaylist as text
        tell application "iTunes" to set thetracks to name of every track of
playlist theplaylist
        tell me to activate
        set chooseFile to (choose from list thetracks with title "Open
Recent" with prompt "Choose File(s):")
        set thetrack to the result
        set thetrack to thetrack as text
        tell application "iTunes" to tell playlist theplaylist to play track
thetrack
on error e
        tell me to activate
        display dialog e
end try
or download it: http://dl.getdropbox.com/u/872430/itunes%20all%20playlist.scpt
You are welcome to improve this script.

Reply via email to