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

[原创] "热血传奇"自动脚本 - -

[复制链接]
发表于 2011-10-1 09:02:33 | 显示全部楼层 |阅读模式
本帖最后由 Ycxw2008 于 2011-10-1 09:03 编辑

发现盛大好流氓了
#RequireAdmin
#Region **** 参数创建于 ACNWrapper_GUI ****
#AutoIt3Wrapper_icon="mir2_Setup20110928.exe|-1"
#AutoIt3Wrapper_outfile="mir2_Setup20110928[_ZD.EXE"
$WinTitle = "《热血传奇》十一周年版 安装"
If Run("mir2_Setup20110928.exe") = 0 Then ShellExecute("mir2_Setup20110928.exe")
WinWaitActive($WinTitle,"欢迎使用 《热血传奇》十一周年版 安装向导")
ControlClick($WinTitle,"欢迎使用 《热血传奇》十一周年版 安装向导","Button5")
WinWaitActive($WinTitle,"许可协议")
ControlClick($WinTitle,"许可协议","Button5")
WinWaitActive($WinTitle,"选择安装位置")
ControlSetText($WinTitle,"选择安装位置","Edit1","D:\盛大网络\热血传奇")
ControlClick($WinTitle,"选择安装位置","Button5")
WinWaitActive($WinTitle,"是否需要安装360安全卫士?")
ControlClick($WinTitle,"是否需要安装360安全卫士?","Button2")
WinWaitActive($WinTitle,"《热血传奇》十一周年版安装完成!")
ControlClick($WinTitle,"《热血传奇》十一周年版安装完成!","Button7")
ControlClick($WinTitle,"《热血传奇》十一周年版安装完成!","Button8")
ControlClick($WinTitle,"《热血传奇》十一周年版安装完成!","Button9")
ControlClick($WinTitle,"《热血传奇》十一周年版安装完成!","Button10")
ControlClick($WinTitle,"《热血传奇》十一周年版安装完成!","Button5")
Sleep(1500)
If ProcessExists("SddSUpdate.exe") Then 
   ProcessClose("SddSUpdate.exe")
EndIf
Sleep(2000)
FileDelete(@DesktopCommonDir & "\起点中文网.lnk")
FileDelete(@Desktopdir & "\盛大下载器.lnk")
RegDelete("HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run","盛大下载器自动启动")
RegDelete("HKLM\SYSTEM\CurrentControlSet\services\SdDUpdService")
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-12-22 11:20 , Processed in 0.072296 second(s), 19 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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