初次制作:请各位朋友请教run("QQPlayer_Setup_2.4.exe")
WinWait("QQ影音2.4 安装","欢迎使用")
WinActivate("QQ影音2.4 安装","欢迎使用")
ControlClick("QQ影音2.4 安装","欢迎使用","Button2")
WinWait("QQ影音2.4 安装","许可证协议")
WinActivate("QQ影音2.4 安装","许可证协议")
ControlClick("QQ影音2.4 安装","许可证协议","Button2")
WinWait("QQ影音2.4 安装","选择组件")
WinActivate("QQ影音2.4 安装","选择组件")
ControlClick("QQ影音2.4 安装","选择组件","Button2")
WinWait("QQ影音2.4 安装","选择安装位置")
WinActivate("QQ影音2.4 安装","选择安装位置")
Send("c:\Program Files\Tencent\QQPlayer")
ControlClick("QQ影音2.4 安装","选择安装位置","Button2")
WinWait("QQ影音2.4 安装","正在完成")
WinActivate("QQ影音2.4 安装","正在完成")
ControlClick("QQ影音2.4 安装","正在完成","Button4")
ControlClick("QQ影音2.4 安装","正在完成","Button2")
Exit
|