1.5

Table Of Contents
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 page532 and
"Control Script API" on page782.
l
Conditional Content Script: This script can conditionally show or hide any
element in the template. See "Showing content conditionally" on page506 and
"Conditional script dialog" on page594.
l
Folder: Adds a folder in which scripts can be placed for easier management. See
"Script folders" on page520.
l
Collapse All: Collapses all the folders, hiding the scripts inside of them.
Scripts Pane column
l
Name: The name added to better identify the script.
l
Selector: Displays the initial text or selector that the script applies to.
Note
Fields from the Data Model pane can be dragged directly into the Scripts pane to create a Text
Script. Additionally, Text scripts can be dragged into any section to add the script's placeholder at
the insert location. See "Variable Data" on page497.
Contextual menu options
l
Duplicate: Click to create an exact copy of the script.
l
Delete: Click to delete the selected script. This does not delete any element or text in the
template itself.
l
Rename: Click to open a dialog to rename the script. This is the same as changing the
Name field in the Edit Script window, which can be opened by double-clicking the script.
l
Enable/Disable: Click to trigger the script to be enabled or disabled. Disabled scripts are
greyed out and italic and will not be executed. See "Enable/disable scripts" on page522
l
Import: load a script from a Scripts file (*.OL-script).
l
Export: save the script to a Scripts file (*.OL-script).
l
Properties (Script folders only): edit the name and execution scope of the folder. See
"Execution scope" on page521.
Page 640