找回密码
 加入
搜索
查看: 2424|回复: 2

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

[复制链接]
发表于 2013-11-13 10:19:00 | 显示全部楼层 |阅读模式
纯属娱乐哈!
Run("2013-11-01_Thunder_dl_7.9.11.4626.exe")
WinWait("迅雷7安装向导")
WinActivate("迅雷7安装向导")
Sleep(1000)
ControlClick("迅雷7安装向导","","Button5")

ControlSetText("迅雷7安装向导","","Edit1","D:\迅雷")
Sleep(1000)
ControlCommand("迅雷7安装向导","","Button7","UnCheck","")
Sleep(1000)
ControlCommand("迅雷7安装向导","","Button8","UnCheck","")
Sleep(1000)
ControlCommand("迅雷7安装向导","","Button9","UnCheck","")

Sleep(1000)
   WinWait("迅雷7安装向导")
   WinActivate("迅雷7安装向导")
   Sleep(1000) 
   ControlClick("迅雷7安装向导","提示","Button2")
   Sleep(1000)
   ControlClick("迅雷7安装向导","","Button11")
   
   Sleep(10000)
   ControlCommand("迅雷7安装向导","","Button15","UnCheck","")
   ControlCommand("迅雷7安装向导","","Button14","UnCheck","")
   ControlCommand("迅雷7安装向导","","Button18","UnCheck","")
   
   Sleep(1000)
   ControlClick("迅雷7安装向导","","Button17")
 楼主| 发表于 2013-11-13 10:20:10 | 显示全部楼层
未在别的机器上运行过。
发表于 2014-3-1 23:55:40 | 显示全部楼层
呵呵!顶lz
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-11-21 19:45 , Processed in 0.068389 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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