pgaskin / NickelMenu

The easiest way to launch scripts, change settings, and run actions on Kobo e-readers.
https://pgaskin.net/NickelMenu
MIT License
505 stars 24 forks source link

Question About Selection Menu #126

Open hsuan9522 opened 2 years ago

hsuan9522 commented 2 years ago

I used highlight(original function in kobo) for one sentence, and next time when I just click it once, it will trigger the selection menu. And in the menu I have a custom item used to echo '{1||$}', when I select it, it will echo an empty string. I just wonder is there any solution to let the string be the highlight sentence except empty string, or it is impossible?

Thanks.

pgaskin commented 2 years ago

I see what the problem is here. I'll have to see if I can rework how NM gets the selection when I have time (and, if that works, I'll also be able to add buttons to the dictionary pop-up).