About Services Tools Blog Contact us

Live Control of an Open Print Layout

Edits the Adobe InDesign file already open, one action at a time, and reports each text box, any text that does not fit, and a preview.

  • Print & Page Layout
  • Cross-sector
  • Tool
  • Product
  • Local/private
  • 2026

The problem

A single generated script cannot see that a text box has overflowed or that the template already has bullets. So long documents come out clipped or restyled. Rebuilding the whole script each time also throws away the open template.

What it does

A simple command sends one action at a time to the open document and reports the result. Actions are inspect, replace or append styled text, place an image, fill a table, carry overflowing text onto a new page and export a preview. Styles are copied from an existing example in the document. The document stays open for the next action.

Outcomes

  • Copy lands in the existing template and no new file is made.
  • Overflow is caught after each addition and the text moves to a new page.
  • Images and tables go into boxes the design already has.
  • A preview image exists after each structural step.

Simplified mockup

Interactive preview with sample data. Nothing is sent to a server.

Open layout

Stays open
txt-title Works open morning
txt-body

Meet the crew from 08:00. The hire sheet is on the counter.

img-hero
Empty frame

Page 1 · open-morning.layout

JSON result
{
  "ok": true,
  "document": "open-morning.layout",
  "status": "idle"
}

Command catalogue

One action at a time. Styles come from a sample run already in the open file, so bullets stay bullets.

ActionTouchesJSON
inspectNo editFrame ids, bounds, a text sample
appendtxt-bodyOverset true or false
threadNew pageNext frame id
placeimg-heroFitted file name
fill tabletbl-ratesCells written
exportPreview onlyPath, pixel size
Sample style

Body copy is taken from the first paragraph in txt-body. An append uses that style. It does not restyle the frame.

Preview export

No preview yet. Export from the open document. The layout stays open afterwards.

How it works

  1. Inspect the open document and list each text box, its size and a text sample.
  2. Replace a title or append styled copy, then check whether the text overflows the box.
  3. When a box fills, duplicate the page, clear the new body and carry the text over.
  4. Place images into existing boxes and fill tables cell by cell.
  5. Save and export a preview before the next structural change.

Pipeline

flowchart LR
  A[Open document] --> B[Inspect frames]
  B --> C[Append text]
  C --> D[Overflow check]
  D --> E[Thread next page]
  E --> F[Place image]
  F --> G[Preview export]