View Single Post
Old 12-05-2022, 12:39 PM   #3
code7
Junior Member
code7 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2022
Device: Kindle Paperwhite
Thank you for the quick answer

Since ebook-viewer can read and render azw3, maybe there is a code there that I could re-use to at least extract the highlighted text between the binary offsets? (I'm a developer)
Are you aware of any other library that knows how to use those binary offsets?

This way I could use --open-at search:"EXTRACTED_SELECTED_TEXT"

I know it's not perfect but as long as the selected text is unique enough it would do the job.
code7 is offline   Reply With Quote