刚才下的AUTOIT3,用最新的酷狗2010试了下,大家给点意见.run("KuGou2010.exe")
Dim $A="安装 - 酷狗音乐"
TrayTip("注意:在此期间切勿动键盘和鼠标!","正在安装软件,请稍候...",10,1)
WinWaitActive($A)
Send("!n")
WinWait($A,"许可协议")
Send("!n")
WinWait($A,"选择目标位置")
ControlSetText($A,'选择目标位置','TEdit1','C:\Program Files\KuGou\KuGou2010')
If WinWaitActive($A,"选择目标位置") Then
Send("!n")
EndIf
WinWaitActive($A)
ControlClick($A,'安装 Google 工具栏','TCheckBox1')
WinWaitActive($A)
Send("!n")
WinWaitActive($A,"准备安装")
Send("!i")
WinSetOnTop($A,"正在安装",1)
WinWaitActive($A,"正在安装")
WinWaitActive($A,"酷狗音乐 安装完毕")
WinSetOnTop($A,"酷狗音乐 安装完毕",1)
WinMove($A,"酷狗音乐 安装完毕",416,225,608,410)
WinWaitActive($A,"酷狗音乐 安装完毕")
MouseClick( "left",636,533,1)
MouseClick( "left",636,555,1)
MouseClick( "left",636,577,1)
WinWaitActive($A,"酷狗音乐 安装完毕")
Send("!f")
Exit
酷狗下载地址:
http://downmini.kugoo.com/KuGou2010.exe
|