|
#Region ;**** 参数创建于 ACNWrapper_GUI ****
#AutoIt3Wrapper_Res_Comment=王哥作品
#AutoIt3Wrapper_Res_Description=自动装迅雷
#AutoIt3Wrapper_Res_Fileversion=1.0.0.0
#AutoIt3Wrapper_Res_LegalCopyright=安信网维
#EndRegion ;**** 参数创建于 ACNWrapper_GUI ****
Run("Thunder5.8.5.576.exe")
if WinActive("打开文件 - 安全警告","您想运行此文件吗?") Then
ControlClick("打开文件 - 安全警告","您想运行此文件吗?","[class:button;instance:2]")
EndIf
WinWaitActive("安装 - 迅雷5","欢迎使用 迅雷5 安装向导")
ControlClick("安装 - 迅雷5","欢迎使用 迅雷5 安装向导","[class:TButton;instance:1]")
WinWaitActive("安装 - 迅雷5","许可协议")
ControlClick("安装 - 迅雷5","许可协议","[class:TRadioButton;instance:1]")
ControlClick("安装 - 迅雷5","许可协议","[class:TButton;instance:2]")
WinWaitActive("安装 - 迅雷5","选择附加任务")
ControlClick("安装 - 迅雷5","选择附加任务","[class:TCheckBox;instance:2]")
Send("{TAB 2}")
Send("{SPACE 2}")
Send("{DOWN}")
Send("{SPACE}")
Send("{DOWN}")
Send("{SPACE}")
Send("{DOWN}")
Send("{SPACE}")
WinWaitActive("安装 - 迅雷5","选择附加任务")
ControlClick("安装 - 迅雷5","选择附加任务","[class:TButton;instance:2]")
WinWaitActive("安装 - 迅雷5","免费Google Toolbar for Internet Explorer")
ControlClick("安装 - 迅雷5","免费Google Toolbar for Internet Explorer","[class:TRadioButton;instance:1]")
ControlClick("安装 - 迅雷5","免费Google Toolbar for Internet Explorer","[class:TButton;instance:2]")
WinWaitActive("安装 - 迅雷5","选择目标位置")
ControlClick("安装 - 迅雷5","选择目标位置","[class:TButton;instance:3]")
WinWaitActive("安装 - 迅雷5","准备安装")
ControlClick("安装 - 迅雷5","准备安装","[class:TButton;instance:3]")
WinWaitActive("安装 - 迅雷5","迅雷5 安装向导完成")
Send("{DOWN}")
Send("{SPACE}")
ControlClick("安装 - 迅雷5","迅雷5 安装向导完成","[class:TButton;instance:3]")
最新迅雷安装代码,怎没修改安装路径、、、 |
|