Hello guys, i'm looking for some script that cycles through keys as long as i hold a certain button, let's say C.
My background, for a better understanding: I play a rpg on a class that has very low skill cooldowns and i want to automate this by using an AHK macro.
Basically, the script should cycle through the keys A, Q, G and H over and over again, but only as long as i hold C. Maybe with some very minor delay in between keypresses, as i don't want some inputs to get eaten by the latency to the server.
I'd mega appreciate if someone could help me with that as i'm a complete idiot when it comes to understanding code in any form.
Cycle through specific keys on held status Topic is solved
Re: Cycle through specific keys on held status Topic is solved
Code: Select all
c::
SetKeyDelay, 25, 25
While GetKeyState("c", "P")
Send aqgh
Return
Re: Cycle through specific keys on held status
This works perfectly, thank you very very much mikey. Much appreciated, have a great day