Toggle a track in iTunes with a hotkey

I have a lot of music in iTunes, particularly because I collect full albums instead of individual songs. The checkbox next to a song in iTunes controls whether or not the track is automatically played in sequential or shuffle mode.

iTunes checkboxes

I wanted a way to toggle the checkboxes easily, so I could uncheck and skip a track without opening the iTunes window, therefore tuning my iTunes library to what I like.

The solution is toggletrack.

When the toggletrack AppleScript runs, the currently playing track in iTunes is toggled. If unchecked (disabled from playing automatically), a Growl notification appears like this:

toggletrack unchecked

If I continue listening and decide I like the track after all, I can rerun the script to re-check the track:

toggletrack checked

I assigned the script to a hotkey using Quicksilver.

Quicksilver triggers

Downloads

git:

git clone git://github.com/msparks/toggletrack.git

or: .zip | .tar.gz