QuarkXPress QX.js Scripting Guide

A programming guide for extending QuarkXPress functionality using JavaScript, covering the QXML DOM API, file system operations, and layout manipulation.


QuarkXPress QX.js Scripting Guide - cover page
Brand
QuarkXPress
Category
Other software
Document type
Programming Manual
Language
English
Pages
85
File format
PDF
File size
3.2 MB
Published
28 October, 2026
Updated
28 October, 2026
MD5 checksum
16BB2351C073B6BA288B57A2D02E660A

About this manual

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.

What's inside

  • Overview
  • Getting Started
  • Working with the JavaScript palette
  • Introduction to QuarkXPress JavaScript objects
  • Working with QuarkXPress Files
  • Working with Layouts and Spreads
  • Working with Pages and Boxes
  • Working with Images, Paragraphs, and Spans
  • Working with Hyperlinks
  • API Reference

Frequently asked questions

What is the QXML DOM?

The QXML DOM (QuarkXPress Markup Language Document Object Model) is the JavaScript programming interface for accessing a QuarkXPress layout's object model.

How do I run a script in QuarkXPress?

To run a script, open the JavaScript palette (Window > JavaScript), select the script to run, and execute it using the Run button.

Download PDF (3.2 MB)

More QuarkXPress Manuals


View all QuarkXPress manuals →