autoclicker Topic is solved

Ask gaming related questions (AHK v1.1 and older)
turtle

autoclicker

28 Nov 2015, 23:40

Hi, I would like an autoclicker that toggles when a button is held, and stops when it isn't. I'm really bad with this kind of stuff. Thanks
Teemu
Posts: 3
Joined: 28 Nov 2015, 17:10

Re: autoclicker  Topic is solved

29 Nov 2015, 03:34

Okay I got 2 autoclicker to you, you can maybe try edit them if you want but they are like, you have to first press 1x F8 so it goes on and second time off. I dont know how to do that push-to-activate thing :D

First code

Code: Select all

SetTimer Click, 100

F8::Toggle := !Toggle

Click:
    If (!Toggle)
        Return
    Click
    Send a
return
And the second one here

Code: Select all

F8::
if getkeystate("F8", "T")
settimer, playmygame, 300
else
settimer, playmygame, Off
return

playmygame:
SendInput, {Click} ; send a click.
Return
I do not take credits, I watched help from internet.
Shadowpheonix
Posts: 1259
Joined: 16 Apr 2015, 09:41

Re: autoclicker

02 Dec 2015, 11:10

For one that only works while a button is held, try this (it will send approximately 4 clicks per second)...

Code: Select all

f8::
While GetKeyState("f8","p")
{
	Click
	Sleep 250
}
Return

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 46 guests