Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Some comments' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Some comments
Authored by: DougAdams on Jul 10, '03 01:26:21PM
To get the single selected track: set theTrack to (item 1 of selection) Also, it might be good to check for a current track first, then see if there's a selection
tell application "iTunes"
	if player state is playing then
		set theTrack to current track
	else if selection is not {} then
		set theTrack to (item 1 of selection)
	end if
end tell
Cheers,
Doug
Doug's AppleScripts for iTunes

---



[ Reply to This | # ]