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

您好,我想咨询一个关于EasyDict中关于划词/取词功能的问题 #369

Closed
donfishman opened this issue Jan 27, 2024 · 2 comments

Comments

@donfishman
Copy link

EasyDict中关于划词/取词的功能好像是有几个解决方案,一个是用的Accessibility,然后还有就是模拟键盘Command+C,还有就是用执行applescript脚本来实现,然后这几个方案好像都有缺陷,导致app的沙盒不能使用,然后我观察到有道,欧陆等词典里也有划词/取词功能,但是他们的软件好像是可以在app store上上架的,不知道他们用的那种解决方案,我是一名swift新手,但是公司业务中遇到这样一个需求,实在不会了,希望有大佬能帮我指点迷津,谢谢🙏

Copy link

Hello donfishman, Thank you for your first issue contribution 🎉

@tisfeng
Copy link
Owner

tisfeng commented Jan 27, 2024

这几个方案好像都有缺陷

是的,目前没有一个完美的方案。

导致app的沙盒不能使用

这个我不明白,上面提到的这几种方式,都是合法的,应该没有问题。

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

No branches or pull requests

3 participants