Use case: I have a keyboard on which I often accidentaly press the right Win key, instead of Alt Gr. (FTR, it's an azerty keyboard)
As a result, instead of doing e.g. Alt Gr+', which results in typing {
, I end up doing Win+', which results in switching to the 4th window. Pretty annoying.
Thus, I'm now running the following script:
RWin::Return
It has already improved the situation, as that Win key is discarded and there is no more window switching.
Though, the key pressed in conjunction with Win held down still passes through. For example, if I accidentaly press Win+= (instead of Alt Gr+=, to type }
), I end up typing =
.
I would prefer to completely disable keyboard input when the right Win is held down, so that any other key pressed would do nothing.
I have done some attempts using KeyWait
and BlockInput
, without success.