Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm a gmail junkie, and one of my favorite features is the keyboard shortcut "a" inside an email to archive the message. I can't remember if that was the default or if I set it to such a quick little keypress, but by now it's totally ingrained in my memory.

I'm setting up Outlook 2010 (or 2013) for work, and set up a similar "quick step" to archive, mark as read, and mark as complete any email.

It would be great, except for keyboard shortcuts they only give the option for "CTRL + SHIFT + 1" and other number key options. With a keyboard shortcut that convoluted, I'm not going to remember it and might as well just reach for my mouse.

Is there any way to set custom keyboard shortcuts for Outlook 2010? I want one-key shortcuts, not 3-keys-at-once!

share|improve this question

5 Answers 5

up vote 5 down vote accepted

I also thought that a shortcut where you have to press three keys at once was too difficult!

My solution was also in AutoHotKey. First you set the title match mode to RegEx because then you can match the titles through a regular expression. Put the following near the top of your script:

SetTitleMatchMode RegEx

And here is the shortcut which should only work in Outlook 2010 (note that I am using Control + Shift + 9):

#IfWinActive Inbox.*Microsoft Outlook
a:: SendInput ^+9
#IfWinActive

For Outlook 2013, the regex needs to be modified slightly:

#IfWinActive Inbox.*Outlook
a:: SendInput ^+9
#IfWinActive
share|improve this answer
    
Caveat emptor. Using the reading pane seems to break these snippets since the active window title does not change. –  iPaulo Jul 25 at 18:45
    
iPaulo - true, but I only use them from the main window so it works for me. BTW, I use CapsLock & a not just a for the hotkey. –  Tahir Hassan Jul 26 at 22:23

like

Opt("WinTitleMatchMode", 2)
HotKeySet("{INSERT}", "captureIns")
Func captureIns()
    HotKeySet("{INSERT}")

   if (WinGetState("Microsoft Outlook") == 15) Then
      Send("{CTRLDOWN}")
      Send("{SHIFTDOWN}")
      Send("1")
      Send("{SHIFTUP}")
      Send("{CTRLUP}")
   EndIf

   HotKeySet("{INSERT}", "captureIns")
 EndFunc

while 1
   sleep(100000000)
WEnd

Regards

share|improve this answer
2  
This reply is missing a context. Where should the code be written into? –  pabouk Oct 17 '13 at 10:19

You can use Autohotkey to make any shortcut you want. It's very easy to learn, they have a good enough documentation

Note: Use #IfWinActive / #IfWinExist to target Outlook or any other program specifically.

share|improve this answer
1  
Thanks, and I actually have a few autohotkey scripts running... I foresee trouble, though, changing something as simple as the "a" key into a command. It would have to be limited to Outlook firstoff, and only when a textfield doesn't have focus. Might be possible with advanced autohotkey, but not simple. –  cksubs Oct 26 '10 at 0:10
1  
I think that you could achieve what you wanted simply using the Window Spy in AutoHotKey to find out what the whole window is defined as, and then using IfWinActive to make it only apply in certain window classes. See this page for details. autohotkey.com/docs/commands/IfWinActive.htm –  blackmastiff Dec 13 '10 at 4:37
  1. Open a new email
  2. Right-click on the Quick Access Toolbar and select Customize Quick Access Toolbar.
  3. Under Choose commands from, select All Commands.
  4. Select Signature and click the Add button.
  5. Click OK

If you had the default five items in your Quick Access Toolbar, Signature will now be #6. Access it by pressing Alt+6. Note that if you are in the Calendar then you need to release Alt before pressing 6.

share|improve this answer

Actually OS X itself allows you to do this for any app for any menu item using the Keyboard/Mouse system prefs pane. For details see:

http://lifehacker.com/343328/create-a-keyboard-shortcut-for-any-menu-action-in-any-program

Jon

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.