找回密码
 加入
搜索
查看: 4468|回复: 8

[原创] Thunder5.9.16.1306自动安装脚本

  [复制链接]
发表于 2010-3-13 12:25:54 | 显示全部楼层 |阅读模式
我在这里要感谢论坛里的131738写出了一个对我们菜鸟很实用的脚本编译工具,我没学过语言也不懂得什么,在这里发一下贴只是看论坛里没有最新的迅雷脚本,也是一点私心想赚点钱,如果有什么问题希望大家能谅解!

Run ( @ScriptDir & "\Thunder5.9.16.1306.exe" )
WinWaitActive( "迅雷5 : 用户使用协议", "欢迎使用 迅雷5 安装向导" )
ControlClick( "迅雷5 : 用户使用协议", "","Button2" )
WinWaitActive( "迅雷5: 安装选项", "选择附加任务" )
$WinPosArray = WinGetPos ( "迅雷5: 安装选项" )
$TNewCheckListBoxArray = ControlGetPos ( "迅雷5: 安装选项", "", "SysTreeView321" )
$Width = $WinPosArray[0] + $TNewCheckListBoxArray[0]
$Height =  $WinPosArray[1] + $TNewCheckListBoxArray[1]
MouseClick ( "left", $Width + 13 , $Height + 46 )
MouseClick ( "left", $Width + 13 , $Height + 59 )
MouseClick ( "left", $Width + 13 , $Height + 72 )
MouseClick ( "left", $Width + 13 , $Height + 85 )
MouseClick ( "left", $Width + 13 , $Height + 98 )
WinWaitActive( "迅雷5: 安装选项", "" )
ControlClick( "迅雷5: 安装选项", "","Button2" )
WinWaitActive( "安装:迅雷5", "百度工具栏  轻松搜索,拦截广告!" )
ControlClick( "安装:迅雷5", "","Button4" )
ControlClick( "安装:迅雷5", "","Button2" )

ProcessWait ( "iexplore.exe" )
ProcessClose ( "iexplore.exe" )
$PID = ProcessExists ( "iexplore.exe" )
If $PID Then ProcessClose ( $PID )
WinWaitActive( "迅雷5: 安装完成", "迅雷5安装程序已完成安装" )
ControlClick( "迅雷5: 安装完成", "","Button5" )
ControlClick( "迅雷5: 安装完成", "","Button6" )
ControlClick( "迅雷5: 安装完成", "","Button7" )
ControlClick( "迅雷5: 安装完成", "","Button2" )

ProcessWait ( "iexplore.exe" )
ProcessClose ( "iexplore.exe" )
$PID = ProcessExists ( "iexplore.exe" )
If $PID Then ProcessClose ( $PID )

SplashTextOn ( "自动安装", "已完成 自动运行 的自动安装. ", 250, 70, -1, -1, 0, "", 14 )
Sleep ( 2000 )

SplashTextOn ( "自动安装", "已完成 自动运行 的自动安装. ", 250, 70, -1, -1, 0, "", 14 )
Sleep ( 2000 )

SplashTextOn ( "自动安装", "已完成 自动运行 的自动安装. ", 250, 70, -1, -1, 0, "", 14 )
Sleep ( 2000 )
发表于 2010-4-10 21:58:34 | 显示全部楼层
好东西就要顶 不用钱的更要顶
发表于 2010-4-12 10:48:42 | 显示全部楼层
好东西就要顶 不用钱的更要顶
发表于 2010-4-12 15:53:48 | 显示全部楼层
呵呵,不要钱的哦
发表于 2010-4-17 17:38:38 | 显示全部楼层
终于找到我想要的了。。还不要钱,狂顶啊
发表于 2010-4-24 16:07:10 | 显示全部楼层
好东西就要顶 像这些数是坐标?", 250, 70, -1, -1, 0, "", 14
发表于 2010-4-24 17:37:11 | 显示全部楼层
学习了。。。。
发表于 2010-8-8 12:49:26 | 显示全部楼层
正需要.下載試試
发表于 2010-9-23 11:24:18 | 显示全部楼层
学习学习,谢谢诶
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-5-10 01:52 , Processed in 0.078016 second(s), 19 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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