So, I'm new to AHK, and I'm not sure how to go about multiple inputs doing various things.
What I'd like to do is upon hitting, say "0", hold "W" and "Shift", while pressing C once every .4 milliseconds or something.. If I hit "0" again, the script will shut off.
Hold two keys, repeat another
Re: Hold two keys, repeat another
I don't know if it will work I'm a newbie with this but I tried.
Code: Select all
0::
toggle := !toggle
if toggle
Send, {W down} {Shift down}
loop
{
Send, c
Sleep 4
if not toggle
break
}
else
Send, {W up} {Shift up}
return
I am your average ahk newbie. Just.. a tat more cute.
Who is online
Users browsing this forum: Araphen, Descolada, Oblomov228 and 166 guests