Eclipse style autohotkey commands
Posted
by
Ph4g3
on Super User
See other posts from Super User
or by Ph4g3
Published on 2012-12-12T11:07:27Z
Indexed on
2012/12/12
11:08 UTC
Read the original article
Hit count: 277
autohotkey
Is autohotkey capable of interpreting hotkeys in the style of Ctrl + Shift + W, W? I would assume a script like the following would work:
^+W:: ; Windows hotkeys (Ctrl + Shift + W)
O:: Run Outlook ; Subsequent 'o' pressed => Run outlook
E:: Run Explorer ;
return
From the documentation I note that these are called vertically stacked hotkeys and cause each line to perform the same action. In the case above, I think Ctrl+Shift+W and o will both cause outlook to be launched, whereas pressing e would cause explorer to be launched. What I would like is Ctrl+Shift+W, O runs outlook and Ctrl+Shift+W, e runs windows explorer.
Is there any way to cause a hotkey to perform context specific actions (much like in Eclipse), where I can press Ctrl+Shift+W to activate a block of specific hotkeys?
© Super User or respective owner