All the tips/hints/fixes/other information posted here are at your own risk. Some of the steps here could result in damage to your computer. For example, using a Windows registry editor like RegEdit could result in unintended serious changes that may be difficult or impossible to reverse. Backups are always encouraged.

06 January 2009

Right-Click to QuickArchive in Outlook

The following AutoHotkey code makes right-clicking a shortcut for QuickArchiving in Outlook, but (helpfully) only if a message is being right-clicked. Otherwise, there is normal right-clicking behavior.

#IfWinActive ahk_class rctrl_renwnd32
MouseGetPos, , , , pane
If pane = SUPERGRID1
Send {Click}!q
Click right

1 comment:

  1. This is pretty awesome. Do you think you could do it so that hitting the 'a' character (for archive) would do the same thing, but only when a message is selected?

    Also, would it be possible to set different archive folders for the inbox and its subfolders? So that if in the inbox, hitting 'a' moves to the message to one place, but if in a subfolder of the inbox, hitting 'a' moves the message to another folder?