修改切换键为单击切换,双击禁用
dobuleDisable(){
global
Suspend, Permit
If !A_IsSuspended
Gosub srfSwitch
If (A_PriorHotkey=A_ThisHotkey)&&(A_TimeSincePriorHotkey<400)
Gosub srfsuspend
}
Hotkey If, !(srf_inputing&&Switch~="Shift")
Hotkey, %Switch%, dobuleDisable ; Hotkey, %热键变量%, 无必要参数的函数
Hotkey If