2021.2

Table Of Contents
l New: Displays a drop-down that shows the following options:
l Control Script: A Control Script affects the output of a template per record as a
whole, instead of parts of the content. See "Control Scripts" on page913 and
"Control Script API" on page1405.
l Standard Script: Adds a new empty standard script. Double-clicking the new script
opens the script editor, where you can write code (see "Writing your own scripts" on
page877).
Tip
Select Text Script instead of Standard Script to create a Standard script that
is opened with the Script Wizard.
l Post Pagination Script (Print context only): Adds a Post Pagination script, which
runs on the Print context after the output has been paginated (see "Post Pagination
Scripts" on page929).
l Folder: Adds a folder in which scripts can be placed for easier management. See
"Script folders" on page884.
l Text Script: When you add variable data to a template, a script of this type is
created by default. See "Variable Data" on page805.
l Dynamic Image script: Provided that its selector refers to an image, this script
dynamically changes the image for each record. See "Dynamic images" on
page823.
l Dynamic Background Script (Print context only): This type of script dynamically
changes the background of a Print section. See "Dynamic Print section
backgrounds" on page844.
l Email scripts (Email sections only): Email scripts define the sender, recipients,
subject, dynamic attachments etc. of the email that is sent, and the PDF password.
See "Email header settings" on page531.
l Conditional Content Script: This script can conditionally show or hide any
element in the template. See "Showing content conditionally" on page815 and
"Conditional Content script dialog" on page1014.
l Conditional Print Section Script (Print context only): This script conditionally
shows or hides any Print section in a template. See "Conditional Print sections" on
page820.
Page 1077