If you use iTunes as often as I do, you probably use it to rate your songs. I use iTunes’ star ratings to record my favorites, and also to find and sort my tracks. But sometimes five stars just aren’t enough.
For me, five stars means “I love this song,” but there is a difference between songs that I love and songs that I consider my all-time favourites. And sometimes, I’d like a way to find these special songs without having to sort through tons of other top-rated songs.
For that purpose, I turn to the Comments field in iTunes. To see a track’s Comments, select it in iTunes and choose File: Get Info or press Command-I. Click on the Info tab and you’ll see the Comments field near the bottom.
In it, you can write whatever you want, but in this case find a song you really love, select it, and enter #6stars in the Comments field. You aren’t really rating the song six stars, but adding this comment will let you use that info to sort your favourite songs.
Setting the "#6stars" tag in iTunes.
Next, from the File menu, choose New Smart Playlist, select Comment Contains, then type #6stars in the empty box. Make sure that the Live Updating option is checked, so any songs you tag in the future will be automatically added to that playlist. Now you have an up-to-date playlist of all the songs you’ve rated with six stars.
But who wants to have to enter a comment manually every time? That’s where AppleScript can help.
Start by opening Script Editor (located in Applications: AppleScript). In the new script window, write the following code: tell application "iTunes" to set comment of current track to "#6stars" then save the script (with default setting) with the name like “Rate 6 Stars” in your user folder/Library/iTunes/Scripts. (If you don’t have a Scripts folder, create one in that location.)
It's easy to create a keyboard shortcut for your AppleScript.
Then, whenever you listen to a song that you think belongs in the six-star echelon, click on the Script icon in the menu bar, and choose your script - it will add the comment automatically.
Not interested in expanding your track ratings? You can use the same method described to tag tracks that you want to listen to on your commute, mark tracks you don’t like and want to delete, or find songs to which you’d like to add lyrics of artwork, to name a few.
All you have to do is decide what comment text you want to use for each situation, and set up your script and playlist accordingly.
[Perceval McElhearn is an 18-year old Apple enthusiast and aspiring Web designer. His Web site will have something interesting soon.]
Note: This blog first appeared on our sister site Macworld.com