AutoHotkey Script: Delete Outlook E-Mails with a Click

15.01.2010
Here we are at the end of my , one of the unsung heroes of the Windows world.

With this free tool, you can , , , and much more.

You can also change the function of your middle mouse button for individual programs. Amazing, right? Over at , there's a script that enables you to .

Behind the scenes, the script monitors the Outlook window for a middle-click (which on some mice means a click of the scroll wheel). When it detects one, it reproduces a left-button click (to select the message) and a press of Ctrl-D (to delete it). Clever, huh?

Interestingly, this also works with the calendar: just middle-click an appointment to delete it.

The instructions at Lifehacker are very clear, so I won't reproduce them here. I will say that if you're an Outlook user, you're about to fall in love with AutoHotkey--and your middle mouse button.