2022.1

Table Of Contents
Field Type Description
description String Description of the document
file String File name of the document
keywords String Semicolon-separated list of keywords
modified
Date
Date and time on which the document
was last saved
Example
This script stores a default property (author) and a custom property in variables.
var author = merge.template.properties.author;
var myProperty = merge.template.customProperties.myPropertyName;
ImageResource
The ImageResource object represents an image resource in a template.
In script, an ImageResource is retrieved via the images Array which contains a list of all image
resources that are included in the current template (see "template" on page1497).
For example: var myImage = merge.template.images[0];.
Functions and fields
Field Type Description
modified Number Timestamp of the last modification of the image resource, for
example: 1566660504000.
name String The base name of the image resource, for example: "cat.jpg".
path String The path of the image resource, relative to the template, for
example: "images/cat.jpg".
Page 1370