Open 7victor opened 1 year ago
同上 报错如下 raise LookupError('Find Control Timeout({}s): {}'.format(maxSearchSeconds, self.GetSearchPropertiesStr())) LookupError: Find Control Timeout(10.0s): {Name: '输入', ControlType: EditControl}
同样问题 怀疑是uiautomation的sendkeys里的self.SetFocus()
出了问题 导致在发送时无法定位微信的输入栏
新版微信里的输入框改名了。原来叫“输入“,现在改为了”无名“。
我现在方法是找到 self.EditMsg = self.UiaAPI.EditControl(Name='输入') 改为了 self.EditMsg = self.UiaAPI.ButtonControl(Name='发送文件').GetParentControl().GetNextSiblingControl().GetFirstChildControl()
试下新版本,可下载图片,适用于最新的PC微信3.9.8.15,重写了wxauto,欢迎指出bug
微信最新版本3.9.6.33发送消息不了