AutoHotkey Script: Delete Outlook E-Mails with One Click

Today's Best Tech Deals

Picked by PCWorld's Editors

Top Deals On Great Products

Picked by Techconnect's Editors

Here we are at the end of my weeklong series on AutoHotkey, one of the unsung heroes of the Windows world.

With this free tool, you can auto-complete text as you type, make the Backspace key navigate folders the way it used to, strip the formatting from pasted text, and much more.

You can also change the function of your middle mouse button for individual programs. Amazing, right? Over at Lifehacker, there's a script that enables you to delete e-mails from your Outlook inbox just by middle-clicking them.

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.

(Speaking of ol "Middy," don't miss my earlier series on making the most of your middle moust button.)

Note: When you purchase something after clicking links in our articles, we may earn a small commission. Read our affiliate link policy for more details.
Shop Tech Products at Amazon