Code: Select all
; full screen (f11) when double middle click mouse
~MButton::
If (A_TimeSincePriorHotkey < 400) && (A_TimeSincePriorHotkey <> -1)
Send, {f11}
return
Just to know: this one screw up the single click:
Code: Select all
; MButton::
; {
; KeyWait, MButton
; KeyWait, MButton, D T.2
; If (ErrorLevel == 0) ;if no error (it the key within 0.2sec), else=errorlevel=1=pass
; send {f11}
; Else send {MButton}
; }
; return