A programming guide for extending QuarkXPress functionality using JavaScript, covering the QXML DOM API, file system operations, and layout manipulation.
This document serves as a scripting guide for QuarkXPress, detailing how to use JavaScript (QX.js) to extend the application's capabilities. It explains the architecture of the QuarkXPress object model and provides instructions on accessing and manipulating layouts via the QXML DOM interface.
The guide covers practical topics such as working with the JavaScript palette, performing file system operations like reading and writing files, and managing layout elements including spreads, pages, boxes, images, paragraphs, and hyperlinks. It includes code examples for creating new objects, modifying properties, and automating publishing workflows.
The QXML DOM (QuarkXPress Markup Language Document Object Model) is the JavaScript programming interface for accessing a QuarkXPress layout's object model.
To run a script, open the JavaScript palette (Window > JavaScript), select the script to run, and execute it using the Run button.