Here is my script. But the random sleep doesn't work, can someone please help me
Code: Select all
Gui, 1: +LastFound +AlwaysOnTop +ToolWindow +Caption +Border +E0x08000000
Gui, 1: font, S22, Verdana
Gui, 1: Add, Button, x10 y10 w65 h55 gSendE , e
Gui, 1: Show,x20 y464 NoActivate ,GUI Keyboard
SendE:
StringLower, Letter, A_GuiControl
Send % (Letter="&&") ? "&" : "{" Letter "}"
Return
pressSpace:
SendInput {e down}
RandSleep(30,50)
SendInput {e up}
return
RandSleep(x,y) {
Random, rand, %x%, %y%
Sleep %rand%
}