While true
FindPic 0,0,1600,900,"Attachmengt:\log.bmp",0.7,logX,logY
If logX > 0 And logY > 0 Then
IfColor logX+940,logY+1000,"72F889",0 Then
IfColor logX+977,logY+1005, "E16AEC", 0 Then
KeyPress "Esc", 1
KeyPress "7", 1
Else
KeyPress "7", 1
End If
Delay 1000
End If
Else
MessageBox "没找到图"
EndScript
End If
Wend
这段有什么问题吗?运行的时候一直找不到图
看图