Code: Select all
#InputLevel 1
Space & LAlt::
OutputDebug, %A_ThisHotkey%
return
Space::
OutputDebug, %A_ThisHotkey%
Send, {Space}
return
If I run the script without #InputLevel 1 I get the following in the KeyHistory after hitting Space. And it gets sent to the active window.
Code: Select all
VK SC Type Up/Dn Elapsed Key
---------------------------------------------------
20 039 s d 0.76 Space
20 039 h u 0.08 Space
20 039 i d 0.05 Space
20 039 i u 0.00 Space
Code: Select all
VK SC Type Up/Dn Elapsed Key
---------------------------------------------------
20 039 s d 0.76 Space
20 039 h u 0.08 Space
20 039 a d 0.05 Space
20 039 i u 0.00 Space
I think it's a bug and not the expected behaviour.