Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to remap a software shortcut, namely ShiftSpaceLbutton to AltRbutton.

I tried this:


I want to do a hold down and release.

share|improve this question

"Alt & RButton" behave like the "Shift & Space & Lbutton" combination of keys:

   Send, % "{ShiftDown}{Space Down}{LButton Down}{ShiftUp}"
   KeyWait, RButton
   Send, % "{Space Up}{LButton Up}"

And vice versa:

   KeyWait, LButton, % "DT.175" ; adjust waiting time here
   Send, % (b:=ErrorLevel) ? "{Space Down}":"{AltDown}{RButton Down}{AltUp}"
   KeyWait, Space
   Send, % b ? "{Space Up}":"{RButton Up}"
share|improve this answer
Thanks for your reply.i don't know why it's not working. – loumizhu Jul 24 '13 at 2:30
i removed the Lbutton and it's good to work with: +Space::!Rbutton . thanks again for help, i don't know what the % sign do in the send command.but will look for it :) – loumizhu Jul 24 '13 at 2:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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