Page 1 of 1

Auto hold auto clicker

Posted: 08 Mar 2018, 21:09
by matty29royals
I need help with a script that when ever i press f8 that a script will activate that will click then hold for 3 then release and then restart and keep doing it until i press f8 again to disable it.

Re: Auto hold auto clicker

Posted: 10 Mar 2018, 01:40
by Nwb

Code: Select all

#MaxThreadsPerHotkey 2
Toggle := 0

F8::
Toggle := !Toggle
If Toggle
    SetTimer, click, 0
If not Toggle 
    SetTimer, click, Off
return

Click:
Click, down
Sleep 3000
Click, up
return