Wanted a simple script where MButton
mapped to hitting the number row key 8 then holding RButton
until released.
$MButton::
SendInput {8}
SendInput {RButton Down}
return
$MButton Up::
SendInput {RButton Up}
return
But there's a problem; if Shift is being held, the script does nothing. So I added the wildcard to ignore modifiers:
*$MButton::
SendInput {8}
SendInput {RButton Down}
return
*$MButton Up::
SendInput {RButton Up}
return
But now the script releases Shift on its own when MButton
is pressed. How can I make it work ignoring modifiers?