So basically what I want to do is for example after I hit a key 'e', it sends key 'i' but it sleeps for some duration say 600 milliseconds before being able to send 'i' again. But during that time if the key 'e' is pressed, it sends 'i' after the 600 milliseconds is up. If not pressed then nothing sends.
The current function that I have is a simple
please place your code in [code][/code] tags!
Code: Select all
e:: BlockInput, On Sendinput, i sleep 600 BlockInput, Off return
The only problem with this is, if i hit key e before the 600ms is up, nothing happens, however I also do not want to hold they key. Is it possible for ahk to store my second key press before those 600ms and send 'i' again after? Thank you