Code: Select all
~LButton::
Sleep 3
Loop
If GetKeyState("LButton") {
Sleep, 3
moveAmount := (moveAmount = 2) ? 1 : 0
mouseXY(moveAmount,3.65)
}
else
break
Return
mouseXY(x,y)
{
DllCall("mouse_event",int,1,int,x,int,y,uint,0,uint,0)
}
F2:: Suspend
this script move my mouse all the way down when i hold lmb button but i want to make it my mouse go down for 1 or 2 seconds can anyone help me ?