Frame Options

Introduction

Note: These options apply to image frames only.

The Frame Options pane in Field Options allows you to assign alternative text (“Alt Text”) that is attached to the frame for PDF export, helping in the creation of accessible PDFs. Using this dialog, you can also specify an ExtendScript that is executed after the frame is populated by EasyCatalog.

Object Export Options

Alt Text
The alternative text applied to the frame is defined using EasyCatalogโ€™s Custom Field commands. For example, to use the contents of the โ€˜My Alt Textโ€™ field, use the following command:

This is equivalent to selecting Object > Object Export Options > Custom as the Alt Text source in InDesign

Post Population Script

The Post Population Script runs when a field is tagged to a frame during the final stage of population.

The script receives a set of arguments that vary depending on whether the Scripting Module is installed.

Without the Scripting Module:

Example:

 

With the Scripting Module installed:
Two additional parameters are passed:

Example:

For more complex scripts, a script file can be placed in the data sourceโ€™s Scripts folder and referenced with an include directive:

Example: Scaling a Barcode
Example script to scale a barcode so it has less whitespace around it: