Search code examples
autohotkeyhotkeys

How can I use Win+Shift+Alt as a hotkey in AutoHotkey?


I want to activate a script with the key combination ⊞ Win+Shift+Alt. How would I do that?

This is what I have so far:

Space::
    Run, App

#Persistent
SetTimer, PressTheKey1, 500
SetTimer, PressTheKey2, 0

PressTheKey1:
    Send, {click}
Return

PressTheKey2:
    Send, {t}
Return

Escape::
    ExitApp
Return

Solution

  • To use the Win, Shift, and 4 combo as a Hotkey:

    #+4::
        ; Your script here