但是不会弄
只能搞个顺序 先send 3 再 send 2 但是不打工 要么不起作用 要么无限循环 send 3 send 2 放开Xbutton1都还在循环!?
Code: Select all
XButton1::
Hotkey, XButton1, Off
GoSub, Label
SetTimer, Label, 0
return
XButton1 up::
Hotkey, XButton1, On
SetTimer, Label, Off
return
Label:
SetTimer, Label, 0
{
if ( GetColor(749,952)=="0xDFDCDC" ) ;5
{
send {5 down}
sleep 10
send {5 up}
else
{
Gosub, tim
SetTimer, tim, 0
}
}
Return
tim:
Z:=!Z
Loop
{
if(Z!=0)
send {3 down}
sleep 2000
send {3 up}
if(Z!=1)
send {1 down}
sleep 2000
send {1 up}
if(Z!=2)
Break tim
}
Return