Question

I would like to switch Left Shift and Ctrl key, so whenever I press Left Shift + P I get Ctrl P instead. But also I will like that when I press Ctrl + Shift get Ctrl + Shift (No Ctrl + Ctrl). I mean just call the Left Shift and Ctrl keys switch when I press the Left Shift in combination with letters and numbers, but not when I press it with any other modifiers.

I have tried this so far

~LShift::~LCtrl

It do the trick, but, with this scritpt whenever I press Lshift I get Ctrl and Left Shift at the same time.

Was it helpful?

Solution

This is how your script should look if you want to switch shift and Ctrl completely.

$*Lshift::Send {LControl Down}
$*Lshift Up::Send {LControl Up}

$*LControl::Send {Lshift Down}
$*LControl Up::Send {Lshift Up}

Your question is similar to this question where you will find the explanation why this works.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top