I even wrote this script:
Code: Select all
Send {D down}
Sleep 145
Send {D up}
thanks a lot for any help
Code: Select all
Send {D down}
Sleep 145
Send {D up}
Code: Select all
#Requires AutoHotkey v1.1.33
v::
SetKeyDelay,, 145
Send d
SoundBeep 1500
Return
Code: Select all
#Requires AutoHotkey v2.0
v:: {
SetKeyDelay , 145
SendEvent 'd'
SoundBeep 1500
}
Thank you very much, your code works as it should, but I faced another problem, the game is protected by xigncode3, and this anticheat system block autohotkey, at desctop its work, but in game doesntmikeyww wrote: ↑30 Jan 2023, 09:19Welcome to this AutoHotkey forum!
Your question is, "How do I create a hotkey?"
See: Introduction and simple examples
Code: Select all
#Requires AutoHotkey v1.1.33 v:: SetKeyDelay,, 145 Send d SoundBeep 1500 Return
Code: Select all
#Requires AutoHotkey v2.0 v:: { SetKeyDelay , 145 SendEvent 'd' SoundBeep 1500 }
I read it on the Internet, launched it as an administrator, and now it works even through the anti-cheat system, thank you very much. I tested it in the game, and noticed that it does not always hold the key for 145ms, sometimes 135 and sometimes 155, is it possible to make it work more accurately? in any case, it helps a lot even with a little inaccuracy, I still get a serious advantagemikeyww wrote: ↑30 Jan 2023, 09:19Welcome to this AutoHotkey forum!
Your question is, "How do I create a hotkey?"
See: Introduction and simple examples
Code: Select all
#Requires AutoHotkey v1.1.33 v:: SetKeyDelay,, 145 Send d SoundBeep 1500 Return
Code: Select all
#Requires AutoHotkey v2.0 v:: { SetKeyDelay , 145 SendEvent 'd' SoundBeep 1500 }