Global $3, $bClose
HotKeySet("{PAUSE}","Click")
GUICreate("3ICE's AutoClicker",210,40)
$bInfo=GUICtrlCreateButton("info",40,0,130,40,0x0040)
GUICtrlSetImage(-1,"shell32.dll",1001)
$bStart=GUICtrlCreateButton("start",0,0,40,40,0x0040)
GUICtrlSetImage(-1,"shell32.dll",290)
$bClose=GUICtrlCreateButton("close",170,0,40,40,0x0040)
GUICtrlSetImage(-1,"shell32.dll",28)
GUISetState()
Opt("MouseClickDelay",0)
While 1
Switch GUIGetMsg()
Case $bInfo
MsgBox(64,"About: 3ICE's Autoclicker","This tool was made by 3ICE to spam LeftMouseButtonClicks."&@CRLF
&"Hotkey: PAUSE/BREAK (press it again to stop clicking)"&@CRLF
&"Download: http://download.3ice.hu/autoclicker/")
Case $bStart
Sleep(1000)
Click()
Case $bClose
ExitLoop
Case Else
;
EndSwitch
WEnd
GUIDelete()
Func Click()
$3 = NOT $3
While $3
MouseClick("left")
WEnd
EndFunc