Kill currently playing track in iTunes
If you are anything like me you have probably amassed an iTunes library that would take a nice holiday to wade through. With your iTunes on shuffle you might even run into some tracks you downloaded eons ago, after reading rave reviews on some weird blog, that on second thought sound pretty damn lame. I have always been bothered with iTunes’s lack of a quick way to ‘kill’ tracks. When you are in your library and the track you are listening to is selected you need to hit a key combo and click an ok button just to get rid of it. And when listening to a playlist the delete option is completely missing. So i set out to fix that.
What i came up with is a simple applescript that you can assign to a keyboard shortcut so killing that track is always just a keystroke away. Think that’s neat? Please follow along…
step 1
Download and unzip the Kill Track Applescript file.
step 2
Enable the script menu with the Applescript utility located in the Applescript folder in the Applications folder.
step 3
Copy the script to your ~/Library/iTunes/Scripts folder. (create the Scripts folder if it does not yet exist).
step 4
Open System Preferences and go to the Keyboard & Mouse preferences panel. Go to the Keyboard Shortcuts tab and add the Kill Track menu option for iTunes and pick a shortcut.

step 5
That’s it! The next time you’ll open iTunes you’ll see the little scripting menu icon in the top and it’ll have the Kill Track option there together with the keyboard shortcut. Next time you feel like hatin’ a track; hit the shortcut and kill it. I promise you’ll feel better afterwards.
The script automatically removes the track from your library and removes the file from disk.

Disclaimer: this script comes with no warranty whatsoever, use at your own risk. Your computer might turn green and go poof if you use it.
May 11th, 2007 at 02:18
Hey, i haven’t find your personal e-mail so i can ask you about your last.fm plugin. Could you please reply this comment through my e-mail? I’d appreciate it your attention.
Thanx.
May 11th, 2007 at 07:47
Check out the last.fm plugin post n this site. most likely your question has already been answered: http://blog.tijs.org/archives/2005/11/01/lastfm-recent-tracks-wordpress-plugin/
June 17th, 2007 at 17:22
This is awesome. Thanks for sharing. If I gave you all kinds of credit, and linked to your site, would it be alright to post this to my own site? Many thanks.
June 17th, 2007 at 19:28
Thanks Josh, do what you want with it. Links back are always appreciated of course.
September 7th, 2007 at 17:00
Hi,
When I used this script to delete tracks from a playlist, the ‘next track’ function didn’t work - it would just go back to the first track in the playlist.
If you put ‘next track’ before ‘delete theTrack’ in the source, then it works perfectly.
Excellent job, and thanks.
September 6th, 2008 at 17:35
the zip was lost but this adapted version of “whack a track” does the exact same thing: http://pastebin.com/f70f57bda