PDA

View Full Version : Any way to set highlighted row to currently playing track?


Philip Sharman
09-03-2003, 04:41 PM
Is there any Applescript way to move the highlighted row to the track that is currently playing?

I can't see any way to control which row is highlighted in a playlist. Maybe I'm missing something obvious.

Thanks,
Philip.

Doug Adams
09-04-2003, 04:08 PM
Do you mean hilight the actual track that is playing? No. The best you can do is locate the playlist of the currently playing track:


tell application "iTunes"
try
set view of front window to playlist (name of current playlist)
end try
end tell

From there, you've got to look for the little speaker indicator that signifies which track is playing (you cannot "set selection of playlist").