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图的代码我用颜色代替了