Scripts List dialog box

This dialog box lists scripts that determine the splitting criteria.

A document will be split into pages according to the result returned by these scripts.

Button Description
Add Click this button to add a new script to the list. This button opens the Script Properties dialog box. For information, see Script Properties dialog box.
Edit Select a script in the list and click this button to edit settings of the selected script. This button opens the Script Properties dialog box.
Remove Select a script and click this button to remove the script from the list.

Script execution order

The algorithm of execution of the scripts is as follows. For every page of the document the component executes the scripts after the page is processed in the following order depending on the Condition parameters:

  1. First, for each barcode found on a page, in succession, the scripts with Each barcode condition are executed in the order as they are listed in the table until some script returns a valid value of the Split variable. After this, the remaining scripts for this group are not executed.
  2. The scripts with Barcodes from set condition are executed for each barcode found within specified zones on the current page. The scripts are executed for every barcode in succession in the order they are listed in the list until some script returns a valid value of the Split variable.
  3. The scripts with Each page condition are executed in the order they are listed in the list until some script returns a valid value of the Split variable.
  4. The scripts with Following pages condition are executed if the current page belongs to the list of pages set for this option.

After execution of all scripts, the component takes the value of the last executed script to determine whether and how (BEFORE, REMOVE, AFTER) the document should be split on the current page.

After this procedure is applied for every page, you will have several documents at the output.

Then the scripts with Each Document condition are executed in the order they are listed. After that, the document is split once again according to the value of the OutputPages variable if it is defined at all and contains a valid value.