Meet the crew from 08:00. The hire sheet is on the counter.
Continued on page 2
Page 1 · open-morning.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.
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.
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.
Interactive preview with sample data. Nothing is sent to a server.
Meet the crew from 08:00. The hire sheet is on the counter.
Continued on page 2
Page 1 · open-morning.layout
Ask for the six-month hire sheet before you leave.
Page 2 · threaded from txt-body
{
"ok": true,
"document": "open-morning.layout",
"status": "idle"
}
One action at a time. Styles come from a sample run already in the open file, so bullets stay bullets.
| Action | Touches | JSON |
|---|---|---|
| inspect | No edit | Frame ids, bounds, a text sample |
| append | txt-body | Overset true or false |
| thread | New page | Next frame id |
| place | img-hero | Fitted file name |
| fill table | tbl-rates | Cells written |
| export | Preview only | Path, pixel size |
Body copy is taken from the first paragraph in txt-body. An append uses that style. It does not restyle the frame.
No preview yet. Export from the open document. The layout stays open afterwards.
700 × 980 px · page 1 with the placed photograph, and the threaded line
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]