We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FriendMessage
微信版本: 3.9.11.17
主要是这个判断出问题了。
wxauto/wxauto/elements.py
Lines 30 to 38 in 4998674
因为是他是一个 ButtonControl 。 改成这样应该可以,但是我不知道 MsgItem.BoundingRectangle.height() 要怎么定义。
ButtonControl
MsgItem.BoundingRectangle.height()
if MsgItem.BoundingRectangle.height() == WxParam.SYS_TEXT_HEIGHT: Msg = ['SYS', MsgItemName, ''.join([str(i) for i in MsgItem.GetRuntimeId()])] elif MsgItem.BoundingRectangle.height() == WxParam.TIME_TEXT_HEIGHT: Msg = ['Time', MsgItemName, ''.join([str(i) for i in MsgItem.GetRuntimeId()])] elif MsgItem.BoundingRectangle.height() == WxParam.RECALL_TEXT_HEIGHT: if '撤回' in MsgItemName: Msg = ['Recall', MsgItemName, ''.join([str(i) for i in MsgItem.GetRuntimeId()])] else: Msg = ['SYS', MsgItemName, ''.join([str(i) for i in MsgItem.GetRuntimeId()])] elif MsgItem.ControlTypeName == 'ButtonControl' and self._lang('查看更多消息') in MsgItemName: Msg = ['SYS', MsgItemName, ''.join([str(i) for i in MsgItem.GetRuntimeId()])]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
微信版本: 3.9.11.17
主要是这个判断出问题了。
wxauto/wxauto/elements.py
Lines 30 to 38 in 4998674
因为是他是一个
ButtonControl
。改成这样应该可以,但是我不知道
MsgItem.BoundingRectangle.height()
要怎么定义。The text was updated successfully, but these errors were encountered: