Code: Select all
Sleep 2000
Loop, 4
if GetKeyState("RButton")
MsgBox RButton is down.
else
MsgBox RButton is NOT down.
; Once the following custom combinations are added
; GetKeyState("RButton") does not get recognized anymore
; even though RButton is physically down
$RButton::Send {RButton}
RButton & Enter::Msgbox First RightMouseButton and then Enter pressed