How do I tell AutoHotkey to ignore a specific key? Topic is solved

Ask gaming related questions (AHK v1.1 and older)
Agent Orange Juice

How do I tell AutoHotkey to ignore a specific key?  Topic is solved

22 Jun 2018, 05:05

Code: Select all

!X::Toggle := !Toggle


~$LButton::
	If (!Toggle)
		Return
	While GetKeyState("LButton", "P"){
		Click
		Sleep 50  ;  milliseconds
}
return

F8::ExitApp
So I have this autoclicker that lets me fire semi and burst weapons as if they were full auto in games, and I can activate it using ALT+X. The problem I have is that the script stops working when I hold CTRL or SHIFT to crouch or sprint. Is there any way to make it ignore these keys?
Rohwedder
Posts: 7645
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: How do I tell AutoHotkey to ignore a specific key?

22 Jun 2018, 09:47

Hallo,
change:

Code: Select all

~$LButton::
to

Code: Select all

~$*LButton::

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 78 guests