Is it possible to create faster "e spammer" than this?

Ask gaming related questions (AHK v1.1 and older)
zerox
Posts: 79
Joined: 15 Apr 2021, 13:01

Is it possible to create faster "e spammer" than this?

20 Jun 2021, 07:26

There is the code:

Code: Select all

 
#MaxThreadsPerHotkey 2

$F2::
	Toggle := !Toggle
	while Toggle
	{
		Send, {e Down}
    	Sleep, 50
    	Send, {e Up}
	}
return
I want it to assign it to "E" key, while i am holding "E".
User avatar
boiler
Posts: 16915
Joined: 21 Dec 2014, 02:44

Re: Is it possible to create faster "e spammer" than this?

20 Jun 2021, 07:33

To make it work with the hotkey toggle:

Code: Select all

#MaxThreadsPerHotkey 2
SetBatchLines -1

$F2::
	Toggle := !Toggle
	while Toggle
		SendInput, {e 99}
return

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 67 guests