I All,
I create a script that triggers when I hold down spacebar and press "f" key.
I noticed that once the script finishes running I cannot use the spacebar in normal text to insert a space.
I tried to use :
Code:
#InstallKeybdHook
GetKeyState, state, space
if state = D
Send {Space down}
else
Send {Space up}
at the end of the script but it does not help.
I also used the workaround of prefixing "space & f::" with a tilde. It works good but does not prevent me from actually inserting a space when I type the hotkey.
I think the best solution would be to add a final line in the script telling AHK to consider spacebar as a normal key.
Thanks for helping!