So I made a script that'd repeatedly press my mouse at random intervals and it works really well. I wanted to do the same thing for the button e, but that doesn't seem to work and I can't figure out why.
Code: Select all
#SingleInstance force
Suspend
LButton::
While GetKeyState("Lbutton","P")
{
Send {LButton}
Random, a, 16, 46
Sleep, %a%
}
return
e::
While GetKeyState("e","P")
{
Send {e}
Random, b, 6, 29
Sleep, %b%
}
return
XButton1::
Suspend
return
The left mouse button works perfectly fine, but my e button doesn't. If someone could point out what I did wrong, I'd really appreciate it.