~LButton:: ;
keywait,Lbutton ,T0.3 ;
if errorlevel ;
{
send, {Lbutton down} ;
gosub ;
} ;
else { ;
Send {lbutton} ;
send {left}{right}
} ;
return
#IfWinActive ahk_class Notepad ;
rbutton:: ;
Winminimize,A
suspend
return
#IfWinActive
:
minGap = 8 ;
mousegetpos xpos1,ypos1
Keywait, LButton, U ;
mousegetpos xpos2, ypos2 ;
if (abs(xpos1-xpos2) < minGap and abs(ypos1-ypos2)<minGap) ; Lbutton
send, {Lbutton up} ;
else if (xpos2-xpos1 > minGap and abs(ypos1-ypos2)<minGap) ; left
Gosub
else
send, {Lbutton up}
return
:
cd :="88"
tooltip,
SetTimer,,888
send {Rbutton}{down 2}{enter}
send, {Lbutton up}
space_0 := "1"
return
#if space_0 = 1
$Space::
changdu :=StrLen(Clipboard)
;MsgBox,%changdu%
cd :=cd-changdu
;MsgBox,cd%cd%
send ^v
loop %cd%
{
send {space}
}
send {;}
space_0 := "0" ;
return
#if
:
tooltip,
return
暂无讨论,说说你的看法吧