Replies: 1 comment
-
|
I know this is old, but I wonder if you could, after a text selection is detected:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using
hs.axuielement, I found theAXSelectedTextattribute, it seems like in chromium/electron apps the selected text comes out without the new lines.I tried playing with ranges to extract the text from
AXValue, but the ranges all wrong and the text offset comes out all wrong.Does anyone have a good implementation that extracts texts properly with
hs.axuielement?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions