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

fix: get selected text in macOS #142

Merged
merged 1 commit into from May 25, 2023

Conversation

yetone
Copy link
Contributor

@yetone yetone commented May 25, 2023

  1. Grant accessibility permission to obtain the keystroke permissions
  2. Use the clipboard to retrieve the selected text for better compatibility
  3. Use osascript -e to execute the command string instead of a file

@Pylogmon
Copy link
Member

泰库辣!

@Pylogmon Pylogmon merged commit 1843a79 into pot-app:master May 25, 2023
1 check passed
@Marvelousp4
Copy link

@Pylogmon MACOS之前还能用这个划词翻译的功能,更新最新版本之后目前又不行了?
image

@Pylogmon
Copy link
Member

重新给一下辅助功能权限

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.

None yet

3 participants