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 favorites. 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 favorite songs.
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.) 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.
Don’t feel like moving the mouse up to the menu bar? Then try a keyboard shortcut instead. Open System Preferences and click on Keyboard & Mouse. Navigate to the Keyboard Shortcuts pane and click on the plus (+) sign below the list of existing shortcuts. Choose iTunes as the Application, and enter
Rate 6 Stars as the Menu Title (or whatever you named your script). In the Keyboard Shortcut field, enter the shortcut you want to use to run the script; I chose Command-Option-6. Click on Add, and you’re done. From now on, you can press your chosen keyboard shortcut to activate the script.
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.]