Do
FindPic 1080,833,1185,946, "Attachment:\Q.bmp", 0.9, intX, intY
If intX > 0 and intY > 0 Then
Delay 200
KeyPress Q, 1
Exit Do
End If
FindPic 1080,833,1185,946, "Attachment:\W.bmp", 0.9, intX, intY
If intX > 0 and intY > 0 Then
Delay 200
KeyPress W, 1
Exit Do
End If
FindPic 1080,833,1185,946, "Attachment:\E.bmp", 0.9, intX, intY
If intX > 0 and intY > 0 Then
Delay 200
KeyPress E, 1
Exit Do
End If
FindPic 1080,833,1185,946, "Attachment:\A.bmp", 0.9, intX, intY
If intX > 0 and intY > 0 Then
Delay 200
KeyPress A, 1
Exit Do
End If
FindPic 1080,833,1185,946, "Attachment:\S.bmp", 0.9, intX, intY
If intX > 0 and intY > 0 Then
Delay 200
KeyPress S, 1
Exit Do
End If
FindPic 1080,833,1185,946, "Attachment:\D.bmp", 0.9, intX, intY
If intX > 0 and intY > 0 Then
Delay 200
KeyPress D, 1
Exit Do
End If
FindPic 1080,833,1185,946, "Attachment:\Z.bmp", 0.9, intX, intY
If intX > 0 and intY > 0 Then
Delay 200
KeyPress Z, 1
Exit Do
End If
FindPic 1080,833,1185,946, "Attachment:\X.bmp", 0.9, intX, intY
If intX > 0 and intY > 0 Then
Delay 200
KeyPress X, 1
Exit Do
End If
FindPic 1080,833,1185,946, "Attachment:\C.bmp", 0.9, intX, intY
If intX > 0 and intY > 0 Then
Delay 200
KeyPress C, 1
Exit Do
End If
FindPic 707,464,1196,666, "Attachment:\成功.bmp", 0.9, intX, intY
If intX > 0 and intY > 0 Then
Delay 200
LeftClick 1
Exit Do
End If
FindPic 707,464,1196,666, "Attachment:\失败.bmp", 0.9, intX, intY
If intX > 0 and intY > 0 Then
Delay 200
LeftClick 1
Exit Do
End If
Loop