展开全部
Dim a
FindPic 0,0,1024,768,"Attachment:\神盾.bmp",0.9,intX,intY
//先找第一个图
If intX > 0 And intY > 0 Then
MoveTo intx, inty
Delay 50
LeftClick 1
Delay 50
a=0
Do
FindPic 0,0,1024,768,"Attachment:\神盾.bmp",0.9,intX,intY
//判断页面打开
If intX > 0 And intY > 0 Then
Delay 200
FindPic 0,0,1024,768,"Attachment:\神盾.bmp",0.9,intX,intY
//在找图片
If intX > 0 And intY > 0 Then
MoveTo intx, inty
Delay 50
LeftClick 1
Delay 50
EndScript
//脚本结束
End If
MoveTo intx, inty
Delay 50
LeftClick 1
Delay 50
End If
Delay 100
a=a+1
Loop until intx>0 or a>100
End If
FindPic 0,0,1024,768,"Attachment:\神盾.bmp",0.9,intX,intY
//先找第一个图
If intX > 0 And intY > 0 Then
MoveTo intx, inty
Delay 50
LeftClick 1
Delay 50
a=0
Do
FindPic 0,0,1024,768,"Attachment:\神盾.bmp",0.9,intX,intY
//判断页面打开
If intX > 0 And intY > 0 Then
Delay 200
FindPic 0,0,1024,768,"Attachment:\神盾.bmp",0.9,intX,intY
//在找图片
If intX > 0 And intY > 0 Then
MoveTo intx, inty
Delay 50
LeftClick 1
Delay 50
EndScript
//脚本结束
End If
MoveTo intx, inty
Delay 50
LeftClick 1
Delay 50
End If
Delay 100
a=a+1
Loop until intx>0 or a>100
End If
本回答被提问者和网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询