
50分,按键精灵同时找图A和B,找到3次图A后换成找图C,否则继续找图AB
3个回答
展开全部
do
FindPic 0,0,1024,768,"Attachment:\图片A.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
次数=次数+1
End If
FindPic 0,0,1024,768,"Attachment:\图片B.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
End If
Loop Until (次数 = 3)
FindPic 0,0,1024,768,"Attachment:\图片C.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
End If
////////////////////复制上面的代码进按键精灵调试,具体的逻辑我给你写出来了,其他找到图要进行的步骤你自己需要什么自己填写,不懂再问我
FindPic 0,0,1024,768,"Attachment:\图片A.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
次数=次数+1
End If
FindPic 0,0,1024,768,"Attachment:\图片B.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
End If
Loop Until (次数 = 3)
FindPic 0,0,1024,768,"Attachment:\图片C.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
End If
////////////////////复制上面的代码进按键精灵调试,具体的逻辑我给你写出来了,其他找到图要进行的步骤你自己需要什么自己填写,不懂再问我
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询