Pro Pack Module

For the True Power User

Specialized utilities, and custom Rule Action support using JavaScript

When we designed the list of available Rule Actions for AccurioPro we came up with a standard set of Actions that we felt would be the most popular and commonly used. Everyone uses the Set Data to… Action, and the Apply Master Page… Action, but of course we couldn’t imagine all of the things our customers would eventually want to do during a merge.

So we have introduced the Pro Pack module to allow users to develop their own custom Rule Actions, with special features for handling specific tasks, such as the creation of variable-length InDesign tables and text flows that span across multiple document pages.

Custom Rule Actions

For custom Rule Actions, the Pro Pack module serves to expose a set of special programming routines that can be used to totally customize your AccurioPro functionality. All custom Actions are developed using JavaScript (a/k/a Adobe InDesign ExtendScript), and can be triggered by any AccurioPro Rule. Using this approach, the Actions you develop will have access to not only the AccurioPro scripting events, but to all of the Adobe InDesign events as well. This means that you can develop a Rule Action to handle just about any variable data need.

Adjust Width of Custom Book Spine
One client for a custom book publication needed to adjust the width of the spine for a variable book cover based on the number of pages in the book. Each data record held the information for a different book cover, including the number of pages. The customer developed a custom Action for this purpose using the Pro Pack. During the merge, the custom Action was triggered each time the spine frame was about to be processed. The custom Action read the number of pages from the data field, did a quick calculation, then adjusted the width of the spine box, and returned control to AccurioPro to continue processing.
Change Color of Text Frame with Pantone Color
Another client needed to change the background color of a label frame by reading the specific Pantone color to use from a data field. During the merge, the custom Action was triggered each time this specific label frame was processed. It read the Pantone Color from the data field, applied the color swatch to the frame, and returned control to AccurioPro to continue processing.
Specialty Bar Code Processing
One of our label printer clients had a special requirement for adding start/stop and check digit characters to their bar code data, and they also wanted to trim the data to a specific length. This task was easily handled using a custom Action that read the raw data from the data field, modified the text to the appropriate specifications, and returned the resulting data to AccurioPro software to be merged.
And More…
These are just a few examples of how clients have utilized the Pro Pack to develop custom Rule Actions. The possibilities are truly unlimited!

Helpful, Built-in Utilities

The Pro Pack also includes a set of utility functions that have been integrated with AccurioPro software, and are designed for performing various variable data tasks. These Pro Pack functions are available for most versions of AccurioPro software, and represent a very powerful set of tools for specific VDP applications. Some of these features have been developed using the same JavaScript interface provided by the Pro Pack, while others are built-in features of AccurioPro software that are enabled once the Pro Pack has been installed. Each module in the Pro Pack is described below.

MPS Variable Table Feature (collapse empty table rows)
For variable InDesign tables, it is often desirable to remove table rows that are empty after data has been merged into the document. We call this collapsing the table, and the MPS Variable Table feature is designed for just that purpose. This built-in feature allows you to set specific criteria to determine which rows of an InDesign table should be removed following a variable data merge. Please see the video below for more details.
MPS Frame Action Feature (omit pages with empty text flows)
AccurioPro already supports the flow of variable text across pages in a document, but what about those records that do not include enough text to span to another page? In some instances, it is desirable to exclude these overflow pages from the print run. The MPS Frame Action feature, which is included with the Pro Pack, assists in this process by automatically detecting such text flows, and marking the page for omission from the variable print stream. Please see the video below for more details.
Advanced Title Case Conversion
This module performs advanced title case conversion on any variable text string being imported. The module handles simple initial case conversion (JOHN JONES becomes John Jones), but also has a built-in table for handing more complex names, which is nice for the McCormick’s and MacDonald’s of the world! Source code is included, so you can add other title case scenarios if you need to.
Price Parsing Module
Many of the variable jobs encountered by AccurioPro involve variable pricing information. This module provides a method for selectively grabbing just a portion of a particular price. For example, if a client has “2 for 1” pricing, this module allows them to selectively merge just the ‘2’ and the ‘1’ portion of the data independently, allowing for precise styling of this data after import. The price parser module handles many common retail scenarios, including standard pricing and percent-off pricing. Provided in binary format (no source code), but we can send you a few great examples.

Variable Tables and Text Flow Control

Powerful, Integrated Pro Pack Features

Video Thumb

The unique Variable Table and Frame Action features provided by the Pro Pack can be very handy for handling variable-length InDesign tables, and for working with variable text and table flows across multiple pages. Please have a look at this training video for details on how to use these powerful Pro Pack features.


Free JavaScript Code Samples

To help get you going, we also provide the full JavaScript source code to several other Custom Actions. These samples will show you the basics of how to communicate with AccurioPro VDP, examine the data being processed, modify the data, apply changes to the document, and return new data to AccurioPro VDP for processing. We also provide code to assist in other utility functions such as the ability to scan for and locate variable placeholders in a document.


This Does Not Compute…

So you don’t know (and have no interest in learning) how to code using ExtendScript? Not a problem – just give us a call and we would be happy to discuss your project and work up a custom AccurioPro VDP Action, just for you!