Sunrise95 发表于 2013-11-13 10:19:00

迅雷7.9自动安装脚本

纯属娱乐哈!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")

Sunrise95 发表于 2013-11-13 10:20:10

未在别的机器上运行过。

joyran 发表于 2014-3-1 23:55:40

呵呵!顶lz
页: [1]
查看完整版本: 迅雷7.9自动安装脚本