I would like to write a simple script (one-liner?) to map the left shift + right mouse button to the middle mouse button (I don't actually have a middle mouse button, as it is a trackpad).
I have tried variations of this:
#(LShift & RButton)::MButton
or
(LShift & RButton::MButton
or
LShift & RButton::MButton
always with the error Error: Invalid Hotkey
. I came here through the somewhat less specific question:
Emulate middle mouse click on a two button mouse in Windows 7
<+RButton
to get rid of the error. However, the behavior I get on my machine is weird and I couldn't get what you want...<+RButton::MButton
Happy to accept it as an answer, but it is odd that it is not behaving well for you.