One more thing with this command...

Re: OK, I got it to work with a couple of fixes to the PickList entries. -- DeniH
Posted by DeniH ® , 10/31/2025, 17:11:21 Reply Top of Thread Forum

I've just realized that after the selected words are added to the current glossary, there is an extra space after the last word. The cursor has already jumped to the short. How can I stop the extra space being added after the expansion?

UPDATE: I figured this out myself. In my pick list, I edited the Add Selected Words Expansion (apw) to add the TrimRight Clipboard command -- it previously just had {Right} -- and now it looks like this:

{CopySelection}
{TrimRightClipboard}
{AddGlossaryEntryDialog}
filename = ""
input = "text"
moveToTop = "n"
resumeUponOK = "n"
{/AddGlossaryEntryDialog}
{ResetTypingContext}

and it works!




Edit | Reply | | Original Message | Top of Thread | Current page | Author