I have been looking for a way to do this for a while and was recenlty pointed to Auto hot key
I am looking to mash some keys in Dos box for the game Raptor call of the shadows.
this will allow me to quickly rotate the weapons I am using instad of wearing out my hand and keyboard.
The weapons are cycled using the alt key or by selecting their number 1-0
I would perfer nuber based scripts as it would allow me to have a larger repitoire of weapons cyclable for certian situations.
The script I tried recently is below...
Code: Select all
#MaxThreadsPerHotkey 2
^z::
toggle := !toggle
Loop {
if (toggle) {
send 2
Sleep, 20
send 6
Sleep, 20
} else {
break
}
}
return
I also tried the below script with the same results. Can some one point me in the right direction to what I am doing wrong and why Dos box may not be seeing what is going on.
Thank you all for your time and wisdom
Code: Select all
#MaxThreadsPerHotkey 2
^z::
toggle := !toggle
Loop {
if (toggle) {
send !
Sleep, 20
} else {
break
}
}
return