按键精灵找到A图就点击,b图也点击,找到c图就重新找,没图就按F1 ,,c图这里是怎么写?

Do
Delay 100
FindColor 0,0,2000,2000,"3c4185",intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX,intY
LeftClick 1
Delay 3000
FindColor 0,0,2000,2000,"4c5832",intX,intY
If intX > 0 And intY > 0 Then
MoveTo intX,intY
LeftClick 1
Else
KeyPress "F1", 1
End If
Else
KeyPress "F1", 1
End If
Loop
A图跟B图的代码我用颜色代替了

最前面加上Rem a
末尾加上
FindColor 0,0,2000,2000,"C图颜色",intX,intY
If intX > 0 And intY > 0 Then
goto a
else
KeyPress "F1", 1
End If
温馨提示:答案为网友推荐,仅供参考
相似回答