Jane沐沐沐 发表于 2016-12-23 10:21:06

QQ安装出现窗口失活问题

不知道为啥,运行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安装向导","完成安装","")
页: [1]
查看完整版本: QQ安装出现窗口失活问题