2

I am trying to map a mouse button to mimic a single press of a ctrl key on the keyboard. (ctrl is used in a game I am playing to toggle displaying some extra info on the screen)

I've tried this but it doesn't seem to actually send the ctrl key:

RButton::
    Send ^
Return

If I do like this and send ctrl+c then it works (for the purposes of my game), which leads me to believe that the ^ only actually gets sent if it has another key to accompany it.

RButton::
    Send ^c
Return

I can't seem to find anywhere in the documentation that supports my theory. I am wondering if any one knows whether my hunch is correct and/or of a way that I can send just the ctrl key by itself.

3

Try using Send {LControl} or {RControl} depending on what key you wish to send.

| improve this answer | |

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.