你看看,相互学习。#requireadmin
$title="千千静听 5.7正式版 安装程序 Unicode"
Run("ttpsetup.exe")
;欢迎
WinWait($title,"欢迎使用 千千静听 5.7正式版 安装程序")
Send("!s")
;请仔细阅读以下的"软件使用协议":
WinWait($title,"请仔细阅读以下的")
Send("!a")
;选择要安装的组件:
WinWait($title,"选择要安装的组件:")
Send("!n")
;指定安装本软件的目标文件夹:
WinWait($title,"指定安装本软件的目标文件夹:")
ControlSetText($title,"指定安装本软件的目标文件夹:","Edit1","C:\Program Files\TTPlayer")
Send("!n")
;创建快捷方式
WinWait($title,"创建快捷方式")
ControlCommand($title,"免费安装“百度工具栏”,轻松搜索,拦截广告!","Button7","UnCheck")
Send("!n")
;完成 千千静听 5.7正式版 安装向导
WinWait($title,"完成 千千静听 5.7正式版 安装向导")
ControlCommand($title,"立即运行 千千静听 5.7正式版","Button1","UnCheck")
ControlClick($title,"完成","Button17","left",1)
|