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

Support for selecting text (if selectable) #74

Closed
roelvangils opened this issue Sep 11, 2022 · 7 comments
Closed

Support for selecting text (if selectable) #74

roelvangils opened this issue Sep 11, 2022 · 7 comments

Comments

@roelvangils
Copy link

I have another idea! :) Now that you implemented support for ⌘+C, I think a shortcut for selecting the matched text would also make a lot of sense. Only if the text is selectable, of course. And I suggest ⌘+A for that ("Select all"). It would make it easy to select entire paragraphs of text based on a snippet of text you search for in that paragraph.

Currently, ⌘+A selects all the text in Wooshy's search field, but I think that is not needed (it is standard behaviour). I mean, I have never used it there.

Thanks for considering! Open for discussion as well!

@godbout
Copy link
Owner

godbout commented Sep 11, 2022

what's the use case?

currently you can press enter to reach the input field, and press command a. so that would save one keystroke? not sure i'm getting it sorry.

@roelvangils
Copy link
Author

I'm not talking about selecting the text in input fields but selecting paragraphs of text. Currently, when you Enter, Wooshy will click the target. That is great. But I would like to use Wooshy as a way to quickly select found text (anywhere) and then do something with it, such as cutting it or sending it to another application (such as Alfred or DeepL or something).

@godbout
Copy link
Owner

godbout commented Sep 12, 2022

so do you mean something like this?:

ScreenFlow.mp4

then you do command a and it grabs the whole paragraph?

those stuff look like paragraphs but they're actually several different UI Elements stick together. wouldn't be trivial to use the AX to do that. what could be done is generate a triple click, which would select the paragraph. although this is inconsistent, even within the vanilla macOS:

ScreenFlow2.mp4

@godbout
Copy link
Owner

godbout commented Sep 12, 2022

also, what should be copied? paragraph? whole text? as usual, that's more complicated than it sounds. need specifics.

@godbout
Copy link
Owner

godbout commented Sep 12, 2022

btw this is already achievable, although not natively within Wooshy: #51 (comment)

@godbout
Copy link
Owner

godbout commented Dec 22, 2024

@roelvangils isn't this issue superseded by #151?

@roelvangils
Copy link
Author

Absolutely! Let me close this one 🙂

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