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

[原创] 迅雷5自动安装脚本

[复制链接]
发表于 2010-1-12 18:21:30 | 显示全部楼层 |阅读模式
$T="迅雷5"
Run("Thunder.exe")
WinWaitActive($T,"欢迎使用")
Send("!y")

WinWaitActive($T,"选择附加任务")
send("!n")
WinWaitActive("安装","安装百度")
ControlClick("安装","安装百度","Button4")
ControlClick("安装","安装百度","Button2")
WinWaitActive("迅雷5")
send("!d")
If winwait("找不到服务器 - Microsoft Internet Explorer") then
winclose("找不到服务器 - Microsoft Internet Explorer")
ElseIf winwait("http://help.xunlei") then
WinClose("http://help.xunlei")
EndIf

FileDelete(@DesktopDir&"\迅雷看看-免费高清影视.lnk")

FileDelete(@DesktopDir&"\迅雷看看播放器.lnk")

FileDelete(@DesktopDir&"\迅雷游戏.lnk")

FileDelete (@AppDataDir&"\Microsoft\Internet Explorer\Quick Launch\迅雷5.lnk")
WinWaitActive($T,"迅雷5安装程序已完成安装")
ControlClick("安装","安装百度","Button5")
ControlClick("安装","安装百度","Button6")
ControlClick("安装","安装百度","Button7")
ControlClick("安装","安装百度","Button2")
WinWaitActive($T,"")
send("!f")
exit
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-11-21 23:42 , Processed in 0.065281 second(s), 19 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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