Need Help!!

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
ThatHuntard808

Need Help!!

19 Jun 2018, 19:02

Code: Select all

$1::
Loop
{
if not GetKeyState("1", "P") 
break
Send, {1 Down}
DllCall("Sleep", "UInt",10.5)
Send, {1 Up}
DllCall("Sleep", "UInt",10.5)
}
return
please place your code in [code][/code] tags!

Everything works fine only problem im having is when this is used the key release on button 1 seems to have a delay or something i just want it to match my MS latency and not give me any delay between use :/ please help.
User avatar
DyaTactic
Posts: 221
Joined: 04 Apr 2017, 05:52

Re: Need Help!!

20 Jun 2018, 14:50

Try this, not sure if this will fix it but it's worth a shot.

Code: Select all

$1::
	SetKeyDelay, -1, -1
	SetBatchLines -1
	Loop
	{
		if not GetKeyState("1", "P") 
			break
		Send, {1 Down}
		DllCall("Sleep", "UInt",10.5)
		Send, {1 Up}
		DllCall("Sleep", "UInt",10.5)
	}
return

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: ccqcl, Descolada, inseption86, mikeyww and 382 guests