#SingleInstance force #Persistent #HotkeyInterval 1000 #MaxHotkeysPerInterval 100 ; 鼠标手势 RButton:: IfWinActive, ahk_exe chrome.exe minGap = 30 mousegetpos xpos1,ypos1 Keywait, RButton, U mousegetpos xpos2, ypos2 if (abs(xpos1-xpos2) minGap and abs(ypos1-ypos2)minGap and abs(ypos1-ypos2)