Hi,
I want to write a script that simply goes to a random playlist and starts playing a track in it. (Rather than just going to a random Library track.) I can do the below, but for some reason, iTunes (4.7) doesn’t show the playlist that’s playing, and there’s no way to find out. How can I make it highlight the playlist in the left column, as if I had hand-selected it?
tell application "iTunes"
activate
tell some playlist
set this_track to some track
play this_track
end tell
end tell