Site logo

InDesign code examples

Miscellaneous code examples sorted by alphabet.

AppleScript — Examples of running AppleScript from JavaScript

Bézier curves

Conditional text — How to apply unconditional to conditional text

Data Merge — Export to PDF using Data Merge

Dialog class — InDesign's built-in dialog class


doScript() method


Override all pageItems function

Script UI — Example of a dynamic “select folder” dialog box