Skip to content

微信支持多开以及新增方法:填充文本到输入框:InputMsg,入参SendMsg一致。#288

Open
PL-FE wants to merge 1 commit intocluic:WeChat3.9.11from
PL-FE:WeChat3.9.11
Open

微信支持多开以及新增方法:填充文本到输入框:InputMsg,入参SendMsg一致。#288
PL-FE wants to merge 1 commit intocluic:WeChat3.9.11from
PL-FE:WeChat3.9.11

Conversation

@PL-FE
Copy link
Copy Markdown

@PL-FE PL-FE commented Nov 9, 2024

多开使用方式:

import wxauto.uiautomation as uia

root = uia.GetRootControl()
child = root.GetChildren()
filtered_list = list(filter(lambda x: x.ClassName == 'WeChatMainWndForPC', child))
for wx_window in filtered_list
    wx = WeChat(wx_window)

@duanchangbiao
Copy link
Copy Markdown

确定这个能用?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants