#requireadmin
#Region AutoIt3Wrapper 预编译参数(常用参数)
#AutoIt3Wrapper_icon=ico.ico
#AutoIt3Wrapper_outfile=自动安装.exe
#AutoIt3Wrapper_Res_Description=千千静听5.5.2.0安装脚本
#AutoIt3Wrapper_Res_LegalCopyright = 版权所有 (C) 2009
#AutoIt3Wrapper_Res_Comment=www.51aou.com 制作:醉爱清茶
#EndRegion AutoIt3Wrapper 预编译参数设置完成
#comments-start __________________
Au3 版本: 3.3.1.4
脚本作者: 醉爱清茶
QQ/TM: 410836733
脚本功能: 自动安装千千静听5.5.2.0
#comments-end 脚本开始___________
Opt("MouseCoordMode", 0)
Run ('ttpsetup.exe')
traytip(" 温馨提示","自动安装期间为避免操作失败,请勿动键盘鼠标",15)
$hd="千千静听 5.5.2 安装程序 Unicode"
WinWaitActive($hd,"欢迎使用 千千静听 5.5.2 安装程序")
ControlClick($hd,"开始(&S)","Button2")
WinWaitActive($hd,"请仔细阅读以下的")
ControlClick($hd,"我同意(&A)","Button2")
WinWaitActive($hd,"选择要安装的组件")
MouseClick("left", 46, 230, 1)
MouseClick("left", 27, 263, 1)
MouseClick("left", 46, 198, 1)
MouseClick("left", 64, 278, 1)
ControlClick($hd,"下一步(&N) >","Button2")
WinWaitActive($hd,"指定安装本软件的目标文件夹")
ControlSetText($hd,"指定安装本软件的目标文件夹","Edit1","C:\Program Files\TTPlayer")
ControlClick($hd,"下一步(&N) >","Button4")
WinWaitActive($hd,"我的桌面")
ControlClick($hd,"我的桌面","Button4")
ControlClick($hd,"下一步(&N) >","Button10")
WinWaitActive($hd,"千千静听 5.5.2 已成功安装到您的电脑上")
ControlClick($hd,"立即运行 千千静听 5.5.2","Button1")
ControlClick($hd,"把hao123设置为首页","Button4")
ControlClick($hd,"安装免费附赠的“百度工具栏”","Button3")
ControlClick($hd,"完成","Button15")
sleep(2000)
FileDelete(@DesktopDir&"\千千音乐.url") |