找回密码
 加入
搜索
查看: 2673|回复: 0

[AU3基础] 请教学习编写的qq安装脚本中的问题

[复制链接]
发表于 2012-10-26 00:43:54 | 显示全部楼层 |阅读模式
学习编写了一个最新版qq安装脚本,但安装到最后一步出现"腾讯QQ2012 安装向导","完成(&F)"窗口时,停止住了,无法点选掉四个安装最后设置项,而且停在那里了,我的脚本编写有什么问题,如何改正?请大虾们多多指教。qq.exej是官网上的最新版,版本号为1.88.5062.0,下边是我的脚本:
#RequireAdmin
#Region ;**** 参数创建于 ACNWrapper_GUI ****
#AutoIt3Wrapper_icon=ico.ico
#AutoIt3Wrapper_outfile=自动安装.exe
#AutoIt3Wrapper_Res_Comment=www.51aou.com 制作:醉爱清茶
#AutoIt3Wrapper_Res_Description=下载吧 - QQ2012 安装脚本
#AutoIt3Wrapper_Res_LegalCopyright=版权所有 (C) 2010
#EndRegion ;**** 参数创建于 ACNWrapper_GUI ****
#Region AutoIt3Wrapper 预编译参数(常用参数)
#EndRegion AutoIt3Wrapper 预编译参数(常用参数)
TrayTip(" 温馨提示", "自动安装期间为避免操作失败,请勿动键盘鼠标", 15, 4)
Run("qq.exe")
WinWaitActive("腾讯QQ2012 安装向导", "在安装软件前, 请仔细阅读下面的软件许可协议和青少年")
Sleep(100)
ControlCommand ("腾讯QQ2012 安装向导","在安装软件前, 请仔细阅读下面的软件许可协议和青少年",1020,"check","" )
Sleep(100)
Send("!N")
WinWaitActive("腾讯QQ2012 安装向导","自定义安装选项")
Sleep(100)
ControlCommand ("腾讯QQ2012 安装向导","自定义安装选项",1007,"uncheck","" )
Sleep(100)
ControlCommand ("腾讯QQ2012 安装向导","自定义安装选项",1017,"uncheck","" )
Sleep(100)
ControlCommand ("腾讯QQ2012 安装向导","自定义安装选项",3016,"uncheck","" )
Sleep(100)
ControlCommand ("腾讯QQ2012 安装向导","自定义安装选项",3018,"uncheck","" )
Sleep(100)
ControlCommand ("腾讯QQ2012 安装向导","自定义安装选项",1036,"uncheck","" )
Sleep(100)
Send("!N")
WinWaitActive("腾讯QQ2012 安装向导", "程序安装目录")
Sleep(100)
ControlCommand ("腾讯QQ2012 安装向导", "程序安装目录",1002,"check","" )
Sleep(100)
Send("!I")
WinWaitActive("腾讯QQ2012 安装向导","软件更新方式")
Sleep(100)
ControlCommand ("腾讯QQ2012 安装向导","软件更新方式",3020,"check","" )
Sleep(100)
Send("!N")
WinWaitActive("腾讯QQ2012 安装向导","安装(&I)")
Sleep(100)
WinWaitClose("腾讯QQ2012 安装向导","安装(&I)")
Sleep(100)
WinWaitActive("腾讯QQ2012 安装向导","完成(&F)")
ControlCommand ("腾讯QQ2012 安装向导","完成(&F)",1047,"uncheck","" )
Sleep(300)
ControlCommand ("腾讯QQ2012 安装向导","完成(&F)2",1045,"uncheck","" )
Sleep(300)
ControlCommand ("腾讯QQ2012 安装向导","完成(&F)",1038,"uncheck","" )
Sleep(300)
ControlCommand ("腾讯QQ2012 安装向导","完成(&F)",1046,"uncheck","" )
Sleep(300)
Send("!F")
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-12-23 07:30 , Processed in 0.085635 second(s), 23 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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