i need a way to send an input if for example w is currently being held down
here is a sample of what my script could look like
++LButton::
LButton::
sendinput {a up}
sendinput {w up}
sendinput {d up}
click
if(w is down) sendinput {w down} <-- not real
if(a is down) sendinput {a down} <--not real
if(d is down) sendinput {d down} <--not real
return
the problem is that even tho i never let go of w andor a andor d the game doesnt register continual key holds it only registers changes in key state.
if key is down, sendinput
Re: if key is down, sendinput
Hallo,
I translated it into Autohotkey. But does that make sense?
I translated it into Autohotkey. But does that make sense?
Code: Select all
+LButton::
LButton::
SendInput {a up}{w up}{d up}
Click
IF GetKeyState("w","P")
SendInput {w down}
IF GetKeyState("a","P")
SendInput {a down}
IF GetKeyState("d","P")
SendInput {d down}
Return
Who is online
Users browsing this forum: Joey5, ntepa, scriptor2016 and 254 guests