Code: Select all
Loop
{
KeyWait, x, D
Send, {x down}
Send, {Numpad3 down}
}
Return
I've tried this simple code, but the thing is it doesn't seem to press down both the buttons simultaneously, and instead presses the two buttons rapidly, which I'm guessing is because of the loop. I've tried messing with a bit of the other codes like KeyWait and GetKeyState, but I'm not 100% sure how to use them efficiently, so I wanted to see I could receive some assistance with how to set this script up if it is possible.
(An example of what happens when I press down x ---> xx3x3x3x3x3x3x3x3xx3xx3xx3xx3xx3xx3)
Really what I'm looking for is how to mimic a sticky keys action of two keys with the press of a single button, being able to rid of the other function buttons from having to be double pressed. I'm not sure if that is possible on AutoHotkey, but I'd love to hear from someone if they know how.