autohotkey - #InputLevel bug? Impossible to use custom combination with #InputLevel set to 1 -
i'm using latest version of ahk (1.1.26.01) , following script fails send space
key active window when release space
key. space
key gets disabled.
#inputlevel 1 space & lalt:: outputdebug, %a_thishotkey% return space:: outputdebug, %a_thishotkey% send, {space} return
without #inputlevel
directive works fine. described in ahk file (search "custom combinations").
what want able trigger hotkeys use space
in ahk script running, that's why need #inputlevel set 1 consequently sets sendlevel 1.
if run script without #inputlevel 1
following in keyhistory after hitting space
. , gets sent active window.
vk sc type up/dn elapsed key --------------------------------------------------- 20 039 s d 0.76 space 20 039 h u 0.08 space 20 039 d 0.05 space 20 039 u 0.00 space
but #inputlevel 1
the following , space
not sent though hotkey triggered (as can seen in lines executed , in debugview).
vk sc type up/dn elapsed key --------------------------------------------------- 20 039 s d 0.76 space 20 039 h u 0.08 space 20 039 d 0.05 space 20 039 u 0.00 space
is bug or expected behavior of inputlevel directive?
Comments
Post a Comment