Here is a sccript to use RMB+Wheel to navigate between Firefox tabs.
It works but i cant manage one issue:
after you use RMB+Wheel to switch to next tab,
rmb invokes context menu only after second time you press rmb.
Code: Select all
; FIREFOX TAB NAVIGATION
#IfWinActive, ahk_class MozillaWindowClass
RButton & WheelUp::
{
Wheel=1
SendInput, ^+{TAB}
}
return
#IfWinActive, ahk_class MozillaWindowClass
RButton & WheelDown::
{
Wheel=1
SendInput, ^{TAB}
}
return
#IfWinActive, ahk_class MozillaWindowClass
RButton Up::
If not (Wheel){
SendInput, {RButton}
}
Wheel:=0
Return
Code: Select all
; FIREFOX TAB NAVIGATION
#IfWinActive, ahk_class MozillaWindowClass
~RButton & WheelUp::
{
SendInput, ^+{TAB}
}
return
#IfWinActive, ahk_class MozillaWindowClass
~RButton & WheelDown::
{
SendInput, ^{TAB}
}
return
}
Return