React to non-character keystrokes

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
braunbaer
Posts: 478
Joined: 22 Feb 2016, 10:49

React to non-character keystrokes

Post by braunbaer » 28 Jul 2021, 12:17

Using input, i can wait for any character to be typed and react to that character.
Is it possible in ahk to react to any keystroke, also to keystrokes that don't produce a character, like {left} or {up}?
swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: React to non-character keystrokes

Post by swagfag » 28 Jul 2021, 13:00

InputHook() is more flexible than the Input command.
braunbaer
Posts: 478
Joined: 22 Feb 2016, 10:49

Re: React to non-character keystrokes

Post by braunbaer » 28 Jul 2021, 13:52

Thank you, I'll have a look at that
Post Reply

Return to “Ask for Help (v1)”