The first script is -
Code: Select all
#NoEnv
SendMode Input
~F6::Suspend
~End::ExitApp
~F5::Reload
LCtrl & ~LButton::
Loop
If GetKeyState("LButton", "LCtrl") {
Sleep, 6
moveAmount := (moveAmount = 2) ? 1 : 0
mouseXY(moveAmount,7.5)
}
else
break
Return
mouseXY(x,y)
{
DllCall("mouse_event",int,1,int,x,int,y,uint,0,uint,0)
}
The 2nd script is -
Code: Select all
f2::Suspend
;Script
~$*LButton::
{
Loop
{
SetMouseDelay 69
MouseClick, Left
If (GetKeyState("LButton","P")=0)
{
Break
Return
}
}
}