I have an ahk script which types a series of keys. It works up until the last key. When it comes to the last key, the AHK script just seems to hold down the key until I press another key manually or exit the script (which I don't want to do).
#SingleInstance force
Sleep, 3000
Send {r}
Sleep, 100
Send {u}
Sleep, 100
Send {n}
Sleep, 100
Exit
I mean, its a straight forward script but instead of seeing "run" I get "runnnnnnnnnnnnnnn(... to infinity)". It should be noted that if I make the sleep command longer, each key will be held down for that amount of time. 100 seconds ensures I only get the character once (except the last key) before moving on to the next.
How can I guarantee that the script will only press each key once?
Send runif you ignore theSleeps- Spyre