ALT or other key masher in Dos Box

Ask gaming related questions (AHK v1.1 and older)
ceephis
Posts: 3
Joined: 28 Mar 2020, 05:46

ALT or other key masher in Dos Box

01 Apr 2020, 02:17

Ok Programing Geniuses

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
However this scrpt does not seem to be effecting the game in any way. It does however output some very fast 2s and 6's in microsoft word. I also can not get the script to stop without kiling is manually. (I must be doing somethig wrong)

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
[Mod edit: [code][/code] tags added]

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 105 guests