Sunday, August 3, 2008

AHK - A simple auto-clicker

Simply auto-clicks when the left mouse button is held down. Insert toggles the auto-clicker on and off.
Insert::
Hotkey, LButton, Toggle
Hotkey, LButton Up, Toggle
Return
LButton::
Loop
{
If (Stop)
Break
Send {lbutton}
}
Stop := 0
Return
LButton Up::Stop := 1

No comments: