2011-04-28
展开全部
a=0
b=0
c=0
d=0
e=0
intX=0
intY=0
Rem 图片1
FindPic intX+10,intY+10,1024,768,"Attachment:\图片1.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
a=a+1
Goto 图片1
End If
MessageBox "图片1的数量为"&a
intX=0
intY=0
Rem 图片2
FindPic intX+10,intY+10,1024,768,"Attachment:\图片2.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
b=b+1
Goto 图片2
End If
MessageBox "图片2的数量为"&b
intX=0
intY=0
Rem 图片3
FindPic intX+10,intY+10,1024,768,"Attachment:\图片3.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
c=c+1
Goto 图片3
End If
MessageBox "图片3的数量为"&c
intX=0
intY=0
Rem 图片4
FindPic intX+10,intY+10,1024,768,"Attachment:\图片4.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
d=d+1
Goto 图片4
End If
MessageBox "图片4的数量为"&d
intX=0
intY=0
Rem 图片5
FindPic intX+10,intY+10,1024,768,"Attachment:\图片5.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
e=e+1
Goto 图片5
End If
MessageBox "图片5的数量为"&e
将图片放入脚本附件,并依次命名为图片1-5
b=0
c=0
d=0
e=0
intX=0
intY=0
Rem 图片1
FindPic intX+10,intY+10,1024,768,"Attachment:\图片1.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
a=a+1
Goto 图片1
End If
MessageBox "图片1的数量为"&a
intX=0
intY=0
Rem 图片2
FindPic intX+10,intY+10,1024,768,"Attachment:\图片2.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
b=b+1
Goto 图片2
End If
MessageBox "图片2的数量为"&b
intX=0
intY=0
Rem 图片3
FindPic intX+10,intY+10,1024,768,"Attachment:\图片3.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
c=c+1
Goto 图片3
End If
MessageBox "图片3的数量为"&c
intX=0
intY=0
Rem 图片4
FindPic intX+10,intY+10,1024,768,"Attachment:\图片4.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
d=d+1
Goto 图片4
End If
MessageBox "图片4的数量为"&d
intX=0
intY=0
Rem 图片5
FindPic intX+10,intY+10,1024,768,"Attachment:\图片5.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
e=e+1
Goto 图片5
End If
MessageBox "图片5的数量为"&e
将图片放入脚本附件,并依次命名为图片1-5
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询