Skip to content
New issue

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

能否微信消息的发送键改为CTRL+ENTER #281

Open
jjh0855 opened this issue Oct 9, 2024 · 2 comments
Open

能否微信消息的发送键改为CTRL+ENTER #281

jjh0855 opened this issue Oct 9, 2024 · 2 comments

Comments

@jjh0855
Copy link

jjh0855 commented Oct 9, 2024

为了微信输入消息中方便输入回车ENTER,将微信消息的发送键改为CTRL+ENTER了。
wxauto使用editbox.SendKeys('{Enter}'),导致信息无法发送。能否可以自定义发送键为CTRL+ENTER?

@cangxia0528
Copy link

SendKeys参数里加个{Ctrl}就好了呀

@jjh0855
Copy link
Author

jjh0855 commented Oct 12, 2024

直接修改wxauto.py模块OK了
#editbox.SendKeys('{Enter}')
editbox.SendKeys('{Ctrl}{Enter}')
# modified by Thomas in 20241009, for Wechat Send key CTRL+ENTER

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

No branches or pull requests

2 participants