How does Autohotkey prevent default key action?

Discuss Autohotkey related topics here. Not a place to share code.
Forum rules
Discuss Autohotkey related topics here. Not a place to share code.
Litaken
Posts: 9
Joined: 10 May 2021, 10:34

How does Autohotkey prevent default key action?

13 Sep 2022, 11:26

Hello all!

I'm trying to figure out how does Autohotkey "block" the original keypress when there is a bind on a key in AHK. Recently I've been trying to sort-of replicate the function of AHK to have more control over the actions happening (java), and I can catch keypress events and send keypresses but can not interfere with the original keypress, meaning I can't prevent a bind typing it's original key. Is AHK acting as the active window receiving key events and delegating to the real active window or something?

Thanks!
Attila

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 10 guests