In a specific 3D app I am trying to accomplish the following: only while I hold down RButton, if I press space I wish to remap space to MButton.

Currently what I have so far (not really working atm):

#IfWinActive ahk_class my3DAppAHKClassHere
    if(GetKeyState("Space")) {
        Send {MButton down}
        KeyWait, RButton
        Send {RButton up}

Does anyone know what am I missing?

  • Without knowing the "specific 3D app" and what you are trying to accomplish in it, it's hard to say. – user3419297 Jul 13 at 8:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.