RosettaCodeData/Task/Keyboard-input-Keypress-check/AutoHotkey/keyboard-input-keypress-check-3.ahk
2014-04-02 16:56:35 +00:00

2 lines
131 B
AutoHotkey

; KeyIsDown := GetKeyState("KeyName" [, "Mode"])
State := GetKeyState("RButton", "P") ; Right mouse button. P = Physical state.