![Wink ;)](./images/smilies/icon_e_wink.gif)
Unfortunately when executing it keeps rotating sending the keys (the timers are considered correctly).
Target: q, w, e, r shall only be sent when keeping key ´a´ pressed, releasing ´a´will stop sending those. What did I do wrong here?
Any help would be highly appreciated.
Code: Select all
#NoEnv
#SingleInstance Force
SendMode Input
SetWorkingDir %A_ScriptDir%
SetTimer, SendLetterQ, 5000
SetTimer, SendLetterW, 500
SetTimer, SendLetterE, 2000
SetTimer, SendLetterR, 8000
a::
SendLetterQ() {
Send, q
}
SendLetterW() {
Send, w
}
SendLetterE() {
Send, e
}
SendLetterR() {
Send, r
}
return