SumatraPDF.ahk (390B)
1 #If (MouseIsOver("ahk_exe SumatraPDF.exe") && WinActive("ahk_exe SumatraPDF.exe")) 2 3 ; Hold MButton and press thumb buttons for switching between Windows 4 ~MButton::Return 5 MButton & XButton1::Send ^{Tab} 6 MButton & XButton2::Send ^+{Tab} 7 8 ; Hold RButton and press thumb buttons for switching between Windows 9 ~RButton::Return 10 RButton & XButton1::Send ^{Tab} 11 RButton & XButton2::Send ^+{Tab}