Latest update 9/19/2019, version 1.0
Add page information to Illustrator artboards. A recent client request to prep large-format work led to this script. The client requires page information appear on the printed output so cutting plotter operators can match jobs to their cut files. I searched for a tool to achieve this but found few results, and none capable of my specific desires. So time to open a code editor and whip up something of my own, shared here to help others with similar needs.
- Add static text combined with dynamic placeholders
- Select layer on which to add page information
- Page information added to all artboards
- Define position and alignment
- Position relative to artboard or contents of selected layer
Instructions for use
The interface has five sections outlined below. Set options as desired and click OK to create the page information, which is added to all artboards in the active document (the document currently open and the top-most window if multiple documents are open).
Section 1: Information text
Information text — enter the desired text. Below the input field are placeholder definitions, each within braces. When added to the text (include the braces), each placeholder is replaced by the associated value.
Section 2: Layer and font
Add text to layer — from the drop-down list, select the desired layer to which page information is assigned.
Font and Size — select the desired font face and point size applied to the information text.
Color — the color applied to the information text. Select Registration, Black, or from the drop-down list, any other swatch present in the document. For a specific swatch, define it beforehand.
Section 3: Position
Position — the artboard margin in which page information is placed.
Offset — the distance page information is placed from the selected reference (set below).
Relative to — the reference from which page information is placed. Artboard places page information inside the artboard area, the value of the Offset away from the artboard edge. Layer places page information outside the selected layer's contents, the value of the Offset away from the contents.
Section 4: Alignment
Alignment — the paragraph alignment applied to the line of information text.
Left/Right indent — an amount, in the same measurement units set above, that the line of information text is indented, from the left when Left alignment is selected, or from the right when Right alignment is selected. Center alignment is always equal indents, in which case any value set here is ignored.
Section 5: Settings
The current options may be saved and restored later. Select from the Load drop-down list to choose saved settings, which then updates the current options. Click the Delete button and the saved settings selected in the Load drop-down list are permanently removed. Click the Save button, provide a name for the settings, and the current options are preserved. If the name already exists, the user may choose to replace the saved settings.
The script provides default saved settings named [Default]. These settings cannot be deleted but may be updated to any desired values by saving settings and providing the name [Default], which then overwrites the default settings.
Each time processing begins, the current options are preserved, and the next time the script is launched, options are restored to the last values used.
License details included in download
For help installing scripts, see How to Install and Use Scripts in Adobe Creative Cloud Applications.
IMPORTANT: by downloading the script you agree that the software is provided without any warranty, express or implied. USE AT YOUR OWN RISK. Always make backups of important data.
Version 1.0 (190919)
- Initial release.