微信版本 3.9.8.11
截至目前 ( 时间2023/12/16 ) 使用pip安装的 wxauto的在微信3.9.5左右以上在发送信息时会出现以下问题。
Traceback (most recent call last):
File "D:\Users\xiao\PycharmProjects\Pwork\wa\Vchat.py", line 36, in <module>
send()
File "D:\Users\xiao\PycharmProjects\Pwork\wa\Vchat.py", line 32, in send
wx.SendMsg(msg,who) # 向`文件传输助手`发送消息:你好~
File "D:\Users\xiao\PycharmProjects\pythonProject\Pwork\lib\site-packages\wxauto\wxauto.py", line 220, in SendMsg
self.EditMsg.SendKeys('{Ctrl}a', waitTime=0)
File "D:\Users\xiao\PycharmProjects\pythonProject\Pwork\lib\site-packages\uiautomation\uiautomation.py", line 6743, in SendKeys
self.SetFocus()
File "D:\Users\xiao\PycharmProjects\pythonProject\Pwork\lib\site-packages\uiautomation\uiautomation.py", line 6213, in SetFocus
return self.Element.SetFocus() == S_OK
File "D:\Users\xiao\PycharmProjects\pythonProject\