1.7

Table Of Contents
Object Description
on page842 triggered the current operation. Not available in PrintShopMail Connect.
"merge" on
page844
The merge object is mainly used in Control Scripts. It gives access to the
template with all of its contexts and sections. It doesn't give access to the
content of the sections. To change the content of a section, you would
create a script with a selector and use the results object in the script (see
"results" on page810).
Global functions
Function Description
"loadhtml()"
on
page799
Loads HTML data from aHTML (snippet). The returned HTML can be
placed into a variable or into a set of HTML elements.
"loadjson()"
on
page801
Loads jsondata from a URL. This is a simple way to retrieve content from
external systems.
"query()" on
page806
Performs a query in the template's contents and creates a new result set
containing the HTML elements that match the given CSS selector.
Examples of iterator functions
Function Description
"Each" on
page794
A generic iterator function, to iterate over the elements in the result set
"For...in" on
page796
Iterates over the enumerable properties of an object, in arbitrary order. For
each distinct property, statements can be executed.
Page 787