Automate InDesign with JavaScript

On this page you’ll find the scripting API reference for InDesign and other Adobe apps, automation workflows by Gregor Fellenz, and the book “InDesign automatisieren” with its sample code.

Excerpt from the InDesign scripting quick reference: the Document class and its properties
Scripting quick reference The InDesign object model on one page

Reference

Adobe ExtendScript APIs

ExtendScript and UXP object models for InDesign, InDesign Server, Illustrator, Photoshop and Bridge, plus ScriptUI and core JavaScript. Searchable, works offline, with .d.ts files for code editors and llms.txt for AI agents.

Gregor Fellenz
Gregor Fellenz Developer, trainer and project lead

Services by publishingX

InDesign automation, workflows and scripting

publishingX specialises in automated publishing workflows: from a single InDesign script to a complete pipeline that turns structured data into finished products with InDesign Server. InDesign is what we do – from marketing automation to book production.

  • Develop

    Automation workflows and scripts with JavaScript, InDesign Server, XML and databases. AI-assisted development delivers better software faster and at lower cost.

  • Consult

    Concepts for InDesign workflows and the efficient use of AI – drawing on many marketing, publishing and industrial projects.

  • Train

    In-house training in InDesign scripting, IDML, XML and GREP, and in scripting with AI assistants – tailored to your needs.

Cover of the book “InDesign automatisieren”
dpunkt.verlag 2nd edition 2015, 384 pages

The book (German)

InDesign automatisieren

Keine Angst vor Skripting, GREP & Co.

A German-language introduction to InDesign programming with ExtendScript, including a cookbook of ready-to-use scripts. In three parts, the book takes you from GREP through programming with JavaScript to automation in practice, including XML.