找回密码
 加入
搜索
查看: 1390|回复: 0

[AU3基础] QQ安装出现窗口失活问题

[复制链接]
发表于 2016-12-23 10:21:06 | 显示全部楼层 |阅读模式
不知道为啥,运行QQ安装有时候窗口未被激活,需要点击一下QQ安装窗口代码才运行下去,比如运行到以下代码时,无法继续,需要点击一下QQ安装窗口,就可以取消掉那些勾,并且完成安装。


WinWaitActive("腾讯QQ安装向导","完成安装")

ControlCommand("腾讯QQ安装向导", "", "Button1", "UnCheck", "")
ControlCommand("腾讯QQ安装向导", "", "Button2", "UnCheck", "")
ControlCommand("腾讯QQ安装向导", "", "Button3", "UnCheck", "")
ControlCommand("腾讯QQ安装向导", "", "Button4", "UnCheck", "")

Sleep(100)

ControlClick("腾讯QQ安装向导","完成安装","[ID:224]")
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-11-17 04:29 , Processed in 0.066145 second(s), 19 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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