QQ2012beta2.exe安装脚本执行到最后不动了?
本帖最后由 yangge0528 于 2012-6-30 02:58 编辑Run ("QQ2012beta2.exe")
WinWaitActive ("腾讯QQ2012 安装向导","欢迎")
;等待指定窗口被激活后再执行下面的命令
ControlCommand ("腾讯QQ2012 安装向导","欢迎","Button1","Check","")
;选中
Send ("!n")
WinWaitActive ("腾讯QQ2012 安装向导","选项")
;等待指定窗口被激活后再执行下面的命令
ControlCommand ("腾讯QQ2012 安装向导","选项","Button9","UnCheck","")
;选空
ControlCommand ("腾讯QQ2012 安装向导","选项","Button12","UnCheck","")
;选空
ControlCommand ("腾讯QQ2012 安装向导","选项","Button18","UnCheck","")
;选空
ControlCommand ("腾讯QQ2012 安装向导","选项","Button7","UnCheck","")
;选空
Send ("!n")
WinWaitActive ("腾讯QQ2012 安装向导","选择")
;等待指定窗口被激活后再执行下面的命令
ControlSetText("腾讯QQ2012 安装向导","选择","Edit1","d:\Program Files\Tencent\QQ")
;修改指定控件的文本
Send ("!i")
WinWaitActive ("腾讯QQ2012 安装向导","完成")
;等待指定窗口被激活后再执行下面的命令
ControlCommand ("腾讯QQ2012 安装向导","完成","Button8","UnCheck","")
;选空
ControlCommand ("腾讯QQ2012 安装向导","完成","Button6","UnCheck","")
;选空
ControlCommand ("腾讯QQ2012 安装向导","完成","Button9","UnCheck","")
;选空
ControlCommand ("腾讯QQ2012 安装向导","完成","Button7","UnCheck","")
;选空
Send ("!f")
Run ("QQ2012beta2.exe")
WinWaitActive ("腾讯QQ2012 安装向导","欢迎")
;等待指定窗口被激活后再执行下面的命令
ControlCommand ("腾讯QQ2012 安装向导","欢迎","Button1","Check","")
;选中
Send ("!n")
WinWaitActive ("腾讯QQ2012 安装向导","选项")
;等待指定窗口被激活后再执行下面的命令
ControlCommand ("腾讯QQ2012 安装向导","选项","Button9","UnCheck","")
;选空
ControlCommand ("腾讯QQ2012 安装向导","选项","Button12","UnCheck","")
;选空
ControlCommand ("腾讯QQ2012 安装向导","选项","Button18","UnCheck","")
;选空
ControlCommand ("腾讯QQ2012 安装向导","选项","Button7","UnCheck","")
;选空
Send ("!n")
WinWaitActive ("腾讯QQ2012 安装向导","选择")
;等待指定窗口被激活后再执行下面的命令
ControlSetText("腾讯QQ2012 安装向导","选择","Edit1","d:\Program Files\Tencent\QQ")
;修改指定控件的文本
Send ("!i")
WinWaitActive ("腾讯QQ2012 安装向导","完成")
;等待指定窗口被激活后再执行下面的命令
ControlCommand ("腾讯QQ2012 安装向导","完成","Button8","UnCheck","")
;选空
ControlCommand ("腾讯QQ2012 安装向导","完成","Button6","UnCheck","")
;选空
ControlCommand ("腾讯QQ2012 安装向导","完成","Button9","UnCheck","")
;选空
ControlCommand ("腾讯QQ2012 安装向导","完成","Button7","UnCheck","")
;选空
ControlClick ("腾讯QQ2012 安装向导","完成","Button2","left","1")
;向指定控件发送鼠标点击命令
两种都不动!!!为什么啊?帅哥、美女些指点一下!
本帖最后由 ooxxgod 于 2012-6-30 13:06 编辑
楼主没看版规 发在这里 我懒的回你代码 这里是作品展览,楼主发错版块了 喔!又错了!马上改! 对不起!请管理员帮忙删贴
页:
[1]