Field codes: AutoTextList field
{ AUTOTEXTLIST "LiteralText" \s ["StyleName"] \t ["TipText"] }
Creates a drop-down list based on AutoText entries
in the active template. The list can vary based on the styles
applied to the AutoText entries.
Instructions
- "LiteralText"
- Text that displays in the document before the user displays the drop-down list. If the text contains spaces, enclose it in quotation marks.
- StyleName
- The name of the style of the AutoText entries that you want to appear in the list. The style can be a paragraph style or a character style. If the style name contains spaces, enclose it in quotation marks.
- "TipText"
- Text that displays in the screen tip
when the mouse pointer hovers over the
field result.
Enclose the text in quotation marks.
Switches
- \s
- Specifies that the list will contain entries based on a specific style. Without this switch, AutoText entries of the current
paragraph style
appear. If there are no entries for the current style, all AutoText entries appear.
- \t
- Specifies unique text to show in the screen tip
instead of the default tip.