You are on the right track

Posted by Emmanuel ® , 09/18/2025, 22:10:39 Reply   Forum

using the select-prev-word-loop snippet. After the selection loop, all you need to do is copy the selection, move the cursor to the right to unselect the selection and finally add the selection to the current glossary:



{Snippet}select-prev-word-loop{/Snippet}
{CopySelection}
{Right}
{AddGlossaryEntryDialog}
filename = ""
input = "text"
moveToTop = "n"
resumeUponOK = "n"
{/AddGlossaryEntryDialog}

Note that once you have selected the words you want to add, you need to hit your resume hotkey (by default F8) in order to exit the selection loop and trigger the copy of the selection, the unselection of the selected text and finally the opening of the Add Glossary Entry window.




Edit | Reply | | View All | |   | Current page | Author
Followups