Note: if u want increase or deacrese the speed of the pointer in the line "Sleep" decrease 4 more speed and increase for less speed.
- Code: Select all
#NoEnv
#SingleInstance force
#InstallKeybdHook
#InstallMouseHook
CoordMode, Mouse, Screen
SendMode Input
~ScrollLock::
KeyWait, ScrollLock
GetKeyState, ScrollLockState, ScrollLock, T
If ScrollLockState = D
{
tActivateScript = 1
SoundBeep, 750, 100
SoundBeep, 750, 100
}
else
{
tActivateScript = 0
SoundBeep, 500, 200
}
return
~LButton::
Goto, DoFiringLoopy
Return
~^LButton::
Goto, DoFiringLoopy
Return
DoFiringLoopy:
if tActivateScript = 1
{
Loop
{
{
Loop
{
Sleep 50
GetKeyState, MButtonState, LButton, P
if MButtonState = U
break
DllCall("mouse_event", uint, 1, int, 0, int, 3, uint,0, int,0 )
Sleep 50
}
return
}
{
break
}
}
}
return