按键精灵找图,找不到图一找图二,我这个图二怎么只开始找一次点击,以后图二出现不点击了
RemksFindPic0,0,1024,768,"Attachment:\神盾.bmp",0.9,intX,intYIfintX>0AndintY>0Thenax=in...
Rem ks
FindPic 0,0,1024,768,"Attachment:\神盾.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
ax=intx
ay=inty
t1=now
else
FindPic 0,0,1024,768,"Attachment:\图二.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
moveto intx,inty
leftclick 1
end if
End If
t2=now
Do
If datediff("s", t2, now) > 6000 Then
MoveTo ax, ay
LeftClick 1
Goto ks
End If
FindPic 0,0,1024,768,"Attachment:\神盾.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
t2=now
MoveTo intx, inty
LeftClick 1
If datediff("s", t1, now) > 600 Then
KeyPress "F5", 1
Delay 5555
Goto ks
End If
End If
Loop 展开
FindPic 0,0,1024,768,"Attachment:\神盾.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
ax=intx
ay=inty
t1=now
else
FindPic 0,0,1024,768,"Attachment:\图二.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
moveto intx,inty
leftclick 1
end if
End If
t2=now
Do
If datediff("s", t2, now) > 6000 Then
MoveTo ax, ay
LeftClick 1
Goto ks
End If
FindPic 0,0,1024,768,"Attachment:\神盾.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
t2=now
MoveTo intx, inty
LeftClick 1
If datediff("s", t1, now) > 600 Then
KeyPress "F5", 1
Delay 5555
Goto ks
End If
End If
Loop 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询