InputHook()-Bug? Topic is solved

Share your ideas as to how the documentation can be improved.
Rohwedder
Posts: 7679
Joined: 04 Jun 2014, 08:33
Location: Germany

InputHook()-Bug?

Post by Rohwedder » 24 Apr 2021, 01:44

1.1.33.08 64bit:
In the 1st example, https://www.autohotkey.com/docs/commands/InputHook.htm#ExKeyWaitAny
here the key is also blocked in the 2nd call with option "V"
; Same again, but don't block the key.
MsgBox % KeyWaitAny("V")

The Input works as expected:

Code: Select all

Loop
{
	Input, Key, VL1
	ToolTip,% Key
}

just me
Posts: 9487
Joined: 02 Oct 2013, 08:51
Location: Germany

Re: InputHook()-Bug?  Topic is solved

Post by just me » 24 Apr 2021, 05:10

Code: Select all

...
    ih.KeyOpt("{All}", "ES")  ; End and Suppress
...

Edit: Source -> KeyWaitAny()

Post Reply

Return to “Suggestions on Documentation Improvements”