1

Is autohotkey capable of interpreting hot-keys in the style of Ctrl+Shift+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?

1

Here is a simple example based upon what you have provided.

^+W::
    Input, x, L1

    if x = o
    {
        msgbox, o pressed
    }
    else if x = e
    {
        msgbox, e pressed
    }
Return

Source Input

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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