按键精灵循环找图后执行下一个循环命令,再找到图后执行下下一个循环命令。怎么写啊

当按键精灵执行“循环命令1”的时候,突然找到图片“A”,则自动停止“循环命令1”(并同时关闭图片“A”/按回车键就能关闭),然后执行“循环命令2”,然后接着突然又找到图片“A”(回车关闭),然后执行“循环命令3”。这样一直叠加的命令要怎么写啊!!!...

i = 0
While i = 0
FindPic 0,0,1024,768,"Attachment:\神盾.bmp",0.9,intX,intY
//“Attachment:\神盾.bmp”这里自己改
If intX > 0 And intY > 0 Then
KeyDown 13
Delay 500
i = 1
End If
Delay 500
Wend
While i = 1
FindPic 0,0,1024,768,"Attachment:\神盾.bmp",0.9,intX,intY
//“Attachment:\神盾.bmp”这里自己改
If intX > 0 And intY > 0 Then
KeyDown 13
Delay 500
i = 2
End If
Delay 500
Wend
While i = 2//依的改次类推
FindPic 0,0,1024,768,"Attachment:\神盾.bmp",0.9,intX,intY
//“Attachment:\神盾.bmp”这里自己改
If intX > 0 And intY > 0 Then
KeyDown 13
Delay 500
i = 3 //依的改次类推
End If
Delay 500
Wend
温馨提示:答案为网友推荐,仅供参考
相似回答