按键精灵手机版循环三个多点找色5秒后没有找到就执行下个命令,求大神指教!感谢!
下面是我没有做循环的
Dim intX,intY
Dim i=0
FindMultiColor 0,0,0,0,"00CBFC-101010","9|-9|0453DE-101010,-13|-7|0374EF-101010,-4|-30|0094EC-101010,-25|-28|19ADFA-101010,46|-23|EDEDED-101010",3,0.9,intX,intY
If intX > -1 And intY > -1 Then
TracePrint "找到了!!"
Tap intX, intY
Tap intX, intY
Delay 100
Tap 514, 72
Delay 100
Tap 54, 141
Delay 10
Tap 54, 141
Delay 10
Tap 54, 141
ElseIf i=1 Then
Else
TracePrint "没找到"
End If
FindMultiColor 0,0,0,0,"C5F9FE-101010","46|-81|66EDFE-101010,14|-62|0070B5-101010,183|-71|00EBFF-101010,237|-26|171AEA-101010",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
TracePrint "找到了!!"
Tap 230, 450
Tap 230, 450
Delay 100
Tap 514, 72
Delay 100
Tap 54, 141
Delay 10
Tap 54, 141
Delay 10
Tap 54, 141
Tap 68, 45
Else
TracePrint "没找到"
End If
FindMultiColor 0,0,0,0,"0297FB-101010","9|10|23E5FF-101010,-13|1|23E5FF-101010,-49|-18|DAFFFD-101010,62|-17|DAFFFD-101010,-64|2|302AF9-101010,73|-1|302AF9-101010",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
TracePrint "找到了!!"
Tap 273, 450
Tap 273, 450
Delay 200
Tap 514, 72
Delay 50
Tap 54, 141
Delay 10
Tap 54, 141
Delay 10
Tap 54, 141
Else
TracePrint "没找到"
End If
Delay 400
Tap 68, 45
Swipe 500, 650, 500, 300, 0.01
Tap 54, 141
求大神指教,感谢!
下面是我没有做循环的
Dim intX,intY
Dim i=0
FindMultiColor 0,0,0,0,"00CBFC-101010","9|-9|0453DE-101010,-13|-7|0374EF-101010,-4|-30|0094EC-101010,-25|-28|19ADFA-101010,46|-23|EDEDED-101010",3,0.9,intX,intY
If intX > -1 And intY > -1 Then
TracePrint "找到了!!"
Tap intX, intY
Tap intX, intY
Delay 100
Tap 514, 72
Delay 100
Tap 54, 141
Delay 10
Tap 54, 141
Delay 10
Tap 54, 141
ElseIf i=1 Then
Else
TracePrint "没找到"
End If
FindMultiColor 0,0,0,0,"C5F9FE-101010","46|-81|66EDFE-101010,14|-62|0070B5-101010,183|-71|00EBFF-101010,237|-26|171AEA-101010",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
TracePrint "找到了!!"
Tap 230, 450
Tap 230, 450
Delay 100
Tap 514, 72
Delay 100
Tap 54, 141
Delay 10
Tap 54, 141
Delay 10
Tap 54, 141
Tap 68, 45
Else
TracePrint "没找到"
End If
FindMultiColor 0,0,0,0,"0297FB-101010","9|10|23E5FF-101010,-13|1|23E5FF-101010,-49|-18|DAFFFD-101010,62|-17|DAFFFD-101010,-64|2|302AF9-101010,73|-1|302AF9-101010",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
TracePrint "找到了!!"
Tap 273, 450
Tap 273, 450
Delay 200
Tap 514, 72
Delay 50
Tap 54, 141
Delay 10
Tap 54, 141
Delay 10
Tap 54, 141
Else
TracePrint "没找到"
End If
Delay 400
Tap 68, 45
Swipe 500, 650, 500, 300, 0.01
Tap 54, 141
求大神指教,感谢!