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

Click here to return to the 'Smart playlists that truly follow your mood' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Smart playlists that truly follow your mood
Authored by: Eravau on May 10, '04 11:53:18AM
If you set your rating via an AppleScript, you can set the rating anywhere from 0 to 100 (1 star = 20 points, 2 = 40, etc.). That's the way I rate all my songs...because 5 stars isn't enough...but 100 that's something to work with. I just assign a keyboard shortcut to the following AppleScript to rate the currently selected tune...

tell application "iTunes"
	set curr_track to the name of selection
	set curr_artist to the artist of the selection
	set curr_rating to the rating of the selection as text
	set new_rating to text returned of (display dialog ("Rate "" & curr_track & "" by " & curr_artist) default answer curr_rating buttons {"Rate"} default button 1)
	set rating of selection to (new_rating as number)
end tell

To change the script to run on the currently playing track, change everywhere the script says "selection" to "current track".

[ Reply to This | # ]