2019.2

Table Of Contents
You can even do this while creating a new script, either with a Script Wizard or in the expanded
script editor. Click Apply at the bottom of the script editor to see the effect of the script on the
Preview tab of the Designer.
Note that scripts that use values of data fields can only be effective when a data file or data
mapping configuration is open. See "Loading data" on page788.
Note
Post Pagination Scripts run only when a Print section is previewed or outputted.
To verify the results of Post Pagination Scripts on a certain Master Page, preview the
Print section to which that Master Page is applied.
Testing for errors
Information in the Scripts pane
One way to see whether a script is functional is to take a look at the Scripts pane.
Tip
Hover over the name of a script in the Scripts pane to highlight parts of the template that
are affected by the script.
Icons on the name of scripts in the Scripts pane can show that there is a warning, information
or error. If one of these icons appears, you can hover over it to see more details.
l
The information icon (i) shows that the selector of the script does not produce a result in
the current section. Note that standard scripts and post pagination scripts are not
executed if their selector does not match any elements. A control script is always
Page 863