按键精灵,找图功能,突然找不到图了。
我刚学写的,一直用了3天都正常的,突然就不行了,以为是图片问题,重新用自带抓图软件抓图,相似度调到0.5,都不行,依然找不到。直接跳过去了。怎么回事?求大神帮忙。Find...
我刚学写的,一直用了3天都正常的,突然就不行了,以为是图片问题,重新用自带抓图软件抓图,相似度调到0.5,都不行,依然找不到。 直接跳过去了。 怎么回事? 求大神帮忙。
FindPic 200,230,650,450,"1.bmp",0.5,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
LeftClick 1
Delay 800
End If
FindPic 200,230,650,450,"1.bmp",0.5,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
LeftClick 1
End If
Delay 1200
FindPic 0,0,800,600,"kx.bmp",0.5,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
LeftClick 1
Delay 100
End If
FindPic 0, 0, 800, 600, "xm.bmp", 0.5, intX, intY
If intX > 0 And intY > 0 Then
MoveTo 280, 233
LeftClick 1
Delay 100
MoveTo 468, 325
LeftClick 10
Delay 100
MoveTo 519, 421
LeftClick 1
Delay 500
End If
FindPic 0,0,650,450,"kx.bmp",0.5,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
LeftClick 1
Delay 100
End If
FindPic 0, 0, 800, 600, "xm.bmp", 0.5, intX, intY
If intX > 0 And intY > 0 Then
MoveTo 280, 233
LeftClick 1
Delay 100
MoveTo 468, 325
LeftClick 10
Delay 100
MoveTo 519, 421
LeftClick 1
Delay 500
End If
FindPic 0,0,650,450,"kx.bmp",0.5,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
LeftClick 1
Delay 100
End If
FindPic 0, 0, 800, 600, "xm.bmp", 0.5, intX, intY
If intX > 0 And intY > 0 Then
MoveTo 280, 233
LeftClick 1
Delay 100
MoveTo 468, 325
LeftClick 10
Delay 100
MoveTo 519, 421
LeftClick 1
Delay 500
End If
FindPic 0,0,1600,900,"kx.bmp",0.5,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
LeftClick 1
Delay 100
End If
FindPic 0, 0, 1600, 900, "xm.bmp", 0.5, intX, intY
If intX > 0 And intY > 0 Then
MoveTo 280, 233
LeftClick 1
Delay 100
MoveTo 468, 325
LeftClick 10
Delay 100
MoveTo 519, 421
LeftClick 1
Delay 500
End If
FindPic 0,0,1600,900,"kx.bmp",0.5,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
LeftClick 1
Delay 100
End If
FindPic 0, 0, 1600, 900, "xm.bmp", 0.5, intX, intY
If intX < 0 And intY < 0 Then
KeyPress "Esc", 1
Delay 500
End If
Delay 1000
MoveTo 686, 155
LeftClick 1 展开
FindPic 200,230,650,450,"1.bmp",0.5,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
LeftClick 1
Delay 800
End If
FindPic 200,230,650,450,"1.bmp",0.5,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
LeftClick 1
End If
Delay 1200
FindPic 0,0,800,600,"kx.bmp",0.5,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
LeftClick 1
Delay 100
End If
FindPic 0, 0, 800, 600, "xm.bmp", 0.5, intX, intY
If intX > 0 And intY > 0 Then
MoveTo 280, 233
LeftClick 1
Delay 100
MoveTo 468, 325
LeftClick 10
Delay 100
MoveTo 519, 421
LeftClick 1
Delay 500
End If
FindPic 0,0,650,450,"kx.bmp",0.5,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
LeftClick 1
Delay 100
End If
FindPic 0, 0, 800, 600, "xm.bmp", 0.5, intX, intY
If intX > 0 And intY > 0 Then
MoveTo 280, 233
LeftClick 1
Delay 100
MoveTo 468, 325
LeftClick 10
Delay 100
MoveTo 519, 421
LeftClick 1
Delay 500
End If
FindPic 0,0,650,450,"kx.bmp",0.5,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
LeftClick 1
Delay 100
End If
FindPic 0, 0, 800, 600, "xm.bmp", 0.5, intX, intY
If intX > 0 And intY > 0 Then
MoveTo 280, 233
LeftClick 1
Delay 100
MoveTo 468, 325
LeftClick 10
Delay 100
MoveTo 519, 421
LeftClick 1
Delay 500
End If
FindPic 0,0,1600,900,"kx.bmp",0.5,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
LeftClick 1
Delay 100
End If
FindPic 0, 0, 1600, 900, "xm.bmp", 0.5, intX, intY
If intX > 0 And intY > 0 Then
MoveTo 280, 233
LeftClick 1
Delay 100
MoveTo 468, 325
LeftClick 10
Delay 100
MoveTo 519, 421
LeftClick 1
Delay 500
End If
FindPic 0,0,1600,900,"kx.bmp",0.5,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX, intY
LeftClick 1
Delay 100
End If
FindPic 0, 0, 1600, 900, "xm.bmp", 0.5, intX, intY
If intX < 0 And intY < 0 Then
KeyPress "Esc", 1
Delay 500
End If
Delay 1000
MoveTo 686, 155
LeftClick 1 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询