Command Glossary Add Glossary Entry...

The AddGlossaryEntryDialog command opens the Add Glossary Entry Dialog.

When selecting the Add Glossary Entry... menu item, the following dialog

Add Glossary Entry Command Input

will help you specify the AddGlossaryEntryDialog command parameters:

filename

Specify a target glossary filename to which you want to add.
If you leave it blank, the target glossary will always be the Current Glossary.

input

"none"

Expansion is initialized blank.

"text"

Expansion is initialized with clipboard text.

"rich text"

Expansion is initialized with PasteRichText
command to paste the clipboard rich text.

"html"

Expansion is initialized with PasteHtml
command to paste the clipboard HTML.

moveToTop

Indicates that the added entry will be moved on top of the entries with which it competes.

resumeUponOK

Indicates if closing the Add Glossary Entry Dialog with OK
should trigger a Resume command.

Example 1

With the following command, you can select the previous word and then open the Add Glossary Entry Dialog, filled with this word:

{Ctrl Shift Left}
{AddGlossaryEntryDialog}
filename = ""
input = "text"
moveToTop = "n"
resumeUponOK = "n"
{/AddGlossaryEntryDialog}

Example 2

With the following command, you can copy the selection and add it to your Typo Glossary:

{CopySelection}
{AddGlossaryEntryDialog}
filename = "Glossary\#Typos.xglo"
input = "text"
moveToTop = "n"
resumeUponOK = "n"
{/AddGlossaryEntryDialog}