找回密码
 加入
搜索
查看: 3844|回复: 4

[原创] QQ2012beta2.exe安装脚本执行到最后不动了?

[复制链接]
发表于 2012-6-30 02:45:09 | 显示全部楼层 |阅读模式
本帖最后由 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")
;向指定控件发送鼠标点击命令







两种都不动!!!为什么啊?帅哥、美女些指点一下!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?加入

×
发表于 2012-6-30 13:05:00 | 显示全部楼层
本帖最后由 ooxxgod 于 2012-6-30 13:06 编辑

楼主没看版规 发在这里 我懒的回你代码
发表于 2012-6-30 20:51:30 | 显示全部楼层
这里是作品展览,楼主发错版块了
 楼主| 发表于 2012-7-1 01:40:40 | 显示全部楼层
喔!又错了!马上改!
 楼主| 发表于 2012-7-1 01:46:44 | 显示全部楼层
对不起!请管理员帮忙删贴
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-12-28 01:05 , Processed in 0.077265 second(s), 21 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表