1

I'm trying to switch my left shift+ button with my x+ key on the keyboard. I tried Lshift::x but what happened was BOTH keys now had the functionality of just x. I looked at Problem with rebinding Ctrl to Capslock using Autohotkey and it seems that this could fix my problem but I have no idea how to convert their answer to something that I can use. Would someone be able to do this? Thank you!

Edit, this didn't work:

 #ifWinActive
Shift::
   Gui, 93:+Owner ; prevent display of taskbar button
   Gui, 93:Show, y-99999 NA, Enable nav-hotkeys: x
   Send {LShift Down}
   KeyWait, Shift ; wait until the Shift button is released
   Gui, 93:Cancel
   Send, {LShift Up}
Return

 #IfWinActive , Enable nav-hotkeys: hjkl

   x::Send {Blind}{LShift Up}{Left}{LShift Down}

 #IfWinActive, ; end context-sensitive block

... of course putting the window after the ifwinactive's

1

1 Answer 1

0

Two lines are required:

Lshift::x
x::Lshift

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .