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

Ability to search the selected text #11

Closed
hasantahir opened this issue Sep 24, 2021 · 8 comments
Closed

Ability to search the selected text #11

hasantahir opened this issue Sep 24, 2021 · 8 comments
Milestone

Comments

@hasantahir
Copy link

First thanks for creating this lovely tool, it has been really helpful in tasks such as scanning a QR code, and reading text. Would it be possible to have an option in which the text that is recognised is also searched over a search engine of choice? Presently, I am retrieving the recognised text from the clipboard and pasting it into a browser to search it.

This would be most helpful when reading text from shared screens in online meetings.

Thank you.

@melonamin
Copy link
Contributor

melonamin commented Sep 26, 2021

You can do that, kinda...

In Preferences -> Automation, set "Trigger URL Scheme" to https://www.google.com/search?q={text} this will force TRex to open google search instead of adding text to the clipboard.

Ideally I'd like to add a separate hot-key to trigger URL Scheme based automation.

@hasantahir
Copy link
Author

Thanks for this. As you stated, it would be great to have a separate shortcut to trigger this feature.

@melonamin
Copy link
Contributor

Try this beta build

@hasantahir
Copy link
Author

Sorry, the link doesn't seem to work.

@melonamin
Copy link
Contributor

@hasantahir
Copy link
Author

Thanks. This works when the captured text contains a URL but not when just some text. Shouldn't the automation scheme https://www.google.co.uk/search?q={text} trigger search for a selected text as well?

melonamin added a commit that referenced this issue Sep 30, 2021
@melonamin
Copy link
Contributor

Another one https://github.com/amebalabs/TRex/releases/tag/v.1.4.-beta-2

@hasantahir
Copy link
Author

This works great. Thank you!

@melonamin melonamin added this to the 1.4 milestone Oct 4, 2021
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