Little request about modifying a script

Ask gaming related questions (AHK v1.1 and older)
Szynsz
Posts: 33
Joined: 09 Mar 2017, 03:33

Little request about modifying a script

17 Nov 2017, 03:19

Hello,
I was looking for autoclicker script, that spam LMB when it is hold down, and i find but i want to add swich to turn off/on this function with F4 button. This is script that i found:

Code: Select all

setKeyDelay, 50, 50
setMouseDelay, 50

$~lbutton::
	while (getKeyState("lbutton", "P"))
	{
		send, {lbutton}
		sleep, 100
	}
return
Please help me :)
Rohwedder
Posts: 7643
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: Little request about modifying a script

17 Nov 2017, 05:58

Hallo,
add:

Code: Select all

F4::Suspend
or:

Code: Select all

F4::Hotkey,$~lbutton,Toggle
Szynsz
Posts: 33
Joined: 09 Mar 2017, 03:33

Re: Little request about modifying a script

22 Nov 2017, 14:56

I use suspend key and it work perfectly thx :)

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: ReyAHK and 71 guests