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

The get-selected-text function doesn't work when called for the first time #9

Open
Mia-Zhang-Forever opened this issue Oct 8, 2024 · 0 comments

Comments

@Mia-Zhang-Forever
Copy link

image

demo

https://github.com/Mia-Zhang-Forever/enigo_demo/tree/get-text

  • use the get-text branch
  • run it with: pnpm tauri dev

it will open a board, you can type in text in the board and use a shortcut to trigger the selection:
the shortcut is hardcoded: ctrl+cmd+,

When "get-selected-text" is called for the first time, it cannot retrieve the content.

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

1 participant