QuarkXPress Scripting's repositories
GettingStarted
Training Session to get you started on JavaScript with QuarkXPress
Mail-merge
This script finds the master page and creates as many pages with that master page as the number of records in a VALID csv file and creates documents by importing csv data. Each page of the document contains data corresponding to a tuple in the csv file.
Convert-Text-to-Hyperlinks
This script searches for hyperlink text in the layout, and converts it to QuarkXPress hyperlinks
Columns-and-Gutter
A JavaScript that applies a number of columns and gutter width to the selected text box
Copy-a-Layer-to-New-Layout
This JavaScript copies a layer and all components on this layer to a new layout
Create-Grid-by-Dividing-a-Box
This JavaScript creates a grid of boxes from an existing box
GREP-search-and-replace
This script finds a string in a text box, based on a RegEx pattern, and replaced them with the provided string (regex). This is often also called "GREP search".
Picture-Caption-from-IPTC-Metadata
Creates a caption box containing a caption generated out of the IPTC information of the image
Sort-Paragraphs
This script sorts all the paragraphs of a selected text box
examples
JavaScript examples that may not be a part of the released version of QuarkXPress.
Find-and-Replace-Text
Finds and replaces all instances an entered string to the target string entered with attribute
Format-Number-Add-Separators
Adds "Thousand separators" to numbers
Format-Phone-Numbers
Finds all phone numbers and formats them as per user provided format
Make-Caption-Box
This script creates a caption box for the selected box