按键精灵 如何区域找图,当找到图运行第一段脚本 当找不到图运行第二段脚本。。
按键精灵如何区域找图,当找到图运行第一段脚本当找不到图忽略第一段脚本,运行第二段脚本。。第一段脚本VBSCallFindPic(0,0,1280,800,"Attachm...
按键精灵 如何区域找图,当找到图运行第一段脚本 当找不到图忽略第一段脚本,运行第二段脚本。。
第一段脚本
VBSCall FindPic(0,0,1280,800,"Attachment:\4.bmp",0.9,intX,intY)
If intX>0 and intY>0
MoveTo intX+20,intY+5
Delay 1000
LeftClick 1
Delay 1000
EndIf
第二段脚本
VBSCall FindPic(0,0,1280,800,"Attachment:\7.bmp",0.9,intX,intY)
If intX>0 and intY>0
MoveTo intX+20,intY+5
Delay 1000
LeftClick 1
Delay 1000
EndIf 展开
第一段脚本
VBSCall FindPic(0,0,1280,800,"Attachment:\4.bmp",0.9,intX,intY)
If intX>0 and intY>0
MoveTo intX+20,intY+5
Delay 1000
LeftClick 1
Delay 1000
EndIf
第二段脚本
VBSCall FindPic(0,0,1280,800,"Attachment:\7.bmp",0.9,intX,intY)
If intX>0 and intY>0
MoveTo intX+20,intY+5
Delay 1000
LeftClick 1
Delay 1000
EndIf 展开
1个回答
展开全部
VBSCall FindPic(0,0,1280,800,"Attachment:\4.bmp",0.9,intX,intY)
If intX>0 and intY>0
MoveTo intX+20,intY+5
Delay 1000
LeftClick 1
Delay 1000
else
Goto Script2
EndIf
Rem Script2
VBSCall FindPic(0,0,1280,800,"Attachment:\7.bmp",0.9,intX,intY)
If intX>0 and intY>0
MoveTo intX+20,intY+5
Delay 1000
LeftClick 1
Delay 1000
EndIf
If intX>0 and intY>0
MoveTo intX+20,intY+5
Delay 1000
LeftClick 1
Delay 1000
else
Goto Script2
EndIf
Rem Script2
VBSCall FindPic(0,0,1280,800,"Attachment:\7.bmp",0.9,intX,intY)
If intX>0 and intY>0
MoveTo intX+20,intY+5
Delay 1000
LeftClick 1
Delay 1000
EndIf
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询