按键精灵,最开始一直找图A,找到后执行a1,然后... 求大神帮忙啊,自己弄半天还是不行。。
最开始一直找图A,找到后执行a1。然后找图B执行b1,没有则找图C执行c1,然后找图D执行d1。找BC图循环10次,没有则不找图D直接执行e1。求大神帮忙啊,非常感谢!!...
最开始一直找图A,找到后执行a1。然后找图B执行b1,没有则找图C执行c1,然后找图D执行d1。找BC图循环10次,没有则不找图D直接执行e1。求大神帮忙啊,非常感谢!!!
展开
3个回答
展开全部
ii=0
FindPic 0,0,1024,768,"Attachment:\a.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
Call a1
End If
For 10
FindPic 0,0,1024,768,"Attachment:\b.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
Call b1
ii=1
Else
FindPic 0,0,1024,768,"Attachment:\c.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
Call c1
ii=1
End If
End If
Next
If ii = 1 Then
FindPic 0,0,1024,768,"Attachment:\d.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
Call d1
End If
Else
Call e1
End If
FindPic 0,0,1024,768,"Attachment:\a.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
Call a1
End If
For 10
FindPic 0,0,1024,768,"Attachment:\b.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
Call b1
ii=1
Else
FindPic 0,0,1024,768,"Attachment:\c.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
Call c1
ii=1
End If
End If
Next
If ii = 1 Then
FindPic 0,0,1024,768,"Attachment:\d.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
Call d1
End If
Else
Call e1
End If
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询