Switching Middleclick Mouse button to Shift+Rightclick not working
Switching Middleclick Mouse button to Shift+Rightclick not working .
Try closing a webbrowser opentab which closes with mouse Middleclick.
1 Attempt One
#Requires AutoHotkey v2.0
+RButton::ToolTip "Mouse Shift+RightClick detected but Mbutton not executed"
+RButton::Send "{MButton}"
Attempt Two
#Requires AutoHotkey v2.0
RButton:: { if GetKeyState("Shift", "P") Send "{MButton}" else Send "{RButton}" }
3.Attempt Three #Requires AutoHotkey v2.0
#HotIf GetKeyState("Shift","P") RButton::Send "{MButton}"
#HotIf RButton::Send "{RButton}"