mf-zl

|
Posted: Fri Aug 02, 2013 15:05 Post subject: |
|
|
TotalMouseEX v0.1a by zL
AutoHotkey_L v1.1.1.00 Unicode
Зажатие левой кнопки - F3
Клик средней - F4
Code: | #SingleInstance force
#If WinActive("ahk_class TTOTAL_CMD") and MouseUnder("TMyListBox[12]")
~LButton::
If LPress {
LPress += 1
Return
} LPress = 1
SetTimer, LPress, On
Return
MButton::
Click
Send, {F4}
Return
LPress:
SetTimer, LPress, Off
If (LPress = 1)
{ KeyWait, LButton, T0.4
If (ErrorLevel && WinActive("ahk_class TTOTAL_CMD"))
{ Click
Send, {F3}
}
} LPress = 0
Return
MouseUnder(Controls) {
MouseGetPos,,,, Control
If RegExMatch(Control, Controls)
Return, True
} |
|
|