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

微信或者word里面不支持划词 #1

Open
majiajue opened this issue Mar 22, 2023 · 3 comments
Open

微信或者word里面不支持划词 #1

majiajue opened this issue Mar 22, 2023 · 3 comments

Comments

@majiajue
Copy link

微信或者word里面不支持划词

@majiajue
Copy link
Author

暂时用剪贴板的逻辑实现了

@danger-dream
Copy link
Owner

微信或者word里面不支持划词

是的,UIAutomation不能覆盖所有应用
但相比起模拟按键clipboard来说会少很多兼容性问题,比如在终端中滑词会触发ctrl + c
这个看个人需求来调整,也可以增加一段白名单功能,如果当前焦点是指定程序的话就用clipboard,否则用UIAutomation。

我目前暂时没空继续维护,如果你有更好的解决方案也可以告诉我,谢谢

@majiajue
Copy link
Author

好的..谢谢..是的..在selection那个地方用剪贴板了..谢谢

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