double click on mouse middle button to do stuff **whithout affecting the single click**

Post your working scripts, libraries and tools for AHK v1.1 and older
partof
Posts: 110
Joined: 16 Jan 2016, 08:38

double click on mouse middle button to do stuff **whithout affecting the single click**

30 Oct 2018, 08:15

sorry the [code..] tags don't seem to work

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
nilsonrdg
Posts: 23
Joined: 16 Feb 2017, 16:05
Location: Brazil
Contact:

Re: double click on mouse middle button to do stuff **whithout affecting the single click**

01 Nov 2018, 12:29

Code: Select all

 tags really aren't working, and in some places the code appears without line breaks.

Return to “Scripts and Functions (v1)”

Who is online

Users browsing this forum: jollyjoe and 114 guests