2020.1

Table Of Contents
Buttons
l
Import...: Click to open a standard Open dialog to import a script. The script must have
the .OL-script extension.
l
Export...: Click to open a standard Save As dialog to save the currently selected scripts to
disk. These scripts can be re-used in other templates. If more than one script is selected,
they are all saved to a single file. If some scripts are inside folders, this folder structure is
kept and will be restored when the scripts are imported.
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879 and
"Control Script API" on page1355.
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
page843).
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894).
l
Folder: Adds a folder in which scripts can be placed for easier management. See
"Script folders" on page851.
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777.
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
page791.
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812.
Page 1042