2019.2

Table Of Contents
l Select a word in the content. Right-click the selection and on the shortcut menu,
choose Text Script.
The Text Script Wizard appears.
2. Change the name of the script to make clear what it does.
Note
Scripts can only have the same name when they are not in the same folder.
3.
The selector states the text to be found in the template. The results can be replaced by
the script.
Tip
Hover over the name of a script in the Scripts pane to highlight parts of the template
that are affected by the script.
l
Text, for example: @lastname@, or {sender}. The text doesn't have to have any
special characters, but special characters do make it easier to recognize the text for
yourself. In the Text Script Wizard, click Text and type the text to find.
Note
A script made with the Text Script Wizard for a block of data already runs
faster than a series of individual scripts, because it only has one selector.
However, searching for text can be a lengthy operation, compared to
searching for an element with an ID. When speed matters, select one of the
two remaining options: Selector or Selector and Text. See also: "Testing
scripts" on page862 and "Optimizing scripts" on page867.
Page 804