Learning in public — this documentation is written in the open and updated as the engine moves.
paged.Paged Docs
Scripting (paged.*)

Settable paths & id grammar

The property paths accepted by paged.set, and the id grammar for addressing elements — generated from the engine's scripting catalog.

Tier: ProProIIIreference

In short How you address an element (the id grammar) and what you can change on it (the settable paths, the second argument to paged.set). Both are generated from the engine catalog and stay in lockstep with the mutation layer.

Addressing elements

  • textFrame:<id> e.g. textFrame:u123 — A text frame. Same scheme: rectangle:/oval:/polygon:/graphicLine:/group:.
  • rectangle:<id> e.g. rectangle:u12 — A rectangle (graphic frame).
  • oval:<id> e.g. oval:u13 — An oval.
  • polygon:<id> e.g. polygon:u14 — A polygon or open path.
  • graphicLine:<id> e.g. graphicLine:u15 — A graphic line.
  • group:<id> e.g. group:u88 — A group. `paged.set("group:<id>", "groupTransform", [a,b,c,d,tx,ty])` moves it as a unit.
  • frame:<id> e.g. frame:u123 — Any page item, kind unknown (alias). paged.address / paged.query resolve it to the kind-specific form.
  • storyRange:<storyId>@<start>..<end> e.g. storyRange:Story/u1@0..6 — A character range within a story (half-open). storyId comes from paged.stories()[].selfId. Alias: story:<storyId>@<start>..<end>.
  • doc e.g. doc — The document itself.
  • page:<id> e.g. page:u1a2 — A body page, by its Self id (paged.pages()[].selfId), or page:#<n> for the n-th page (1-based).
  • spread:<id> e.g. spread:u1a1 — A spread, by its Self id.
  • layer:<id> e.g. layer:ub3 — A layer, by its Self id (paged.layers()).
  • master:<id> e.g. master:ua9 — A master spread. `master:<id> > textFrame:<id>` names an item on it.
  • story:<id> e.g. story:Story/u1 — A story, by its Self id.
  • field:<storyId>@<offset> e.g. field:Story/u1@12 — A text field anchored at a story character offset (paged.placeholders / RequestDocumentPlaceholders).
  • table:<id> e.g. table:u2f — A table, by its Self id (unique per document).
  • cell:<tableId>/<row>,<col> e.g. cell:u2f/0,1 — A table cell, zero-based row and column.
  • style:<family>/<selfId> e.g. style:paragraph/ParagraphStyle/Body — A style; family is paragraph | character | object | cell | table. The display name is accepted in place of the Self id.
  • swatch:<id> e.g. swatch:Color/Red — A colour or swatch, by its Self id.
  • gradient:<id> e.g. gradient:Gradient/u1 — A gradient, by its Self id.
  • colorGroup:<id> e.g. colorGroup:ColorGroup/u7 — A colour group.
  • numberingList:<id> e.g. numberingList:NumberingList/Steps — A numbering list.
  • guide:<id> e.g. guide:u5c — A ruler guide.
  • condition:<id> e.g. condition:Condition/Draft — A text condition.
  • conditionSet:<id> e.g. conditionSet:u3d — A condition set.
  • section:<id> e.g. section:u4e — A numbering section.
  • hyperlink:<id> e.g. hyperlink:u6a — A hyperlink.
  • textVariable:<id> e.g. textVariable:dTextVariablenFile Name — A text variable, by its Self id (the designmap's TextVariable). Its name is accepted in a selector: textVariable[name="Running Head"].
  • plugin:<pluginId>/<kind>/<id> e.g. plugin:paged.image/layer/7 — An object a plugin owns. Opaque to core and carried through unchanged.
  • $h:<name> e.g. $h:newFrame — A batch handle bound earlier in the same batch.

Settable property paths

Grouped by theme, with the IDML type hint and description where a path maps to a known attribute. Each group links to its runnable showcase.

243 of 243 settable paths — the second argument to paged.set(id, path, value), grouped by theme.

Anchored objects & text wrap demo ▸

frameTextWrapMode
frameTextWrapOffsets
frameTextWrapContourType
frameTextWrapContourIncludeInside
frameTextWrapInvert
anchoredPosition
anchorPoint
anchoredXOffset
anchoredYOffset
anchoredHorizontalReference
anchoredVerticalReference
anchoredHorizontalAlignment
anchoredVerticalAlignment
anchoredSpineRelative
anchoredLockPosition

Tables & cells demo ▸

appliedCellStyle
appliedTableStyle
cellFillColor
cellFillTint
cellInsetTop
cellInsetLeft
cellInsetBottom
cellInsetRight
cellVerticalJustification
cellTopEdgeStrokeColor
cellTopEdgeStrokeWeight
cellTopEdgeStrokeTint
cellBottomEdgeStrokeColor
cellBottomEdgeStrokeWeight
cellBottomEdgeStrokeTint
cellLeftEdgeStrokeColor
cellLeftEdgeStrokeWeight
cellLeftEdgeStrokeTint
cellRightEdgeStrokeColor
cellRightEdgeStrokeWeight
cellRightEdgeStrokeTint

Text & paragraph demo ▸

characterFontSizepointsFont size in points.
characterLeadingpoints | AutoLine leading.
characterTracking1/1000 emLetter tracking.
characterFillColorswatch refText fill swatch.
paragraphSpaceBeforepointsSpace above the paragraph.
paragraphSpaceAfterpointsSpace below the paragraph.
paragraphFirstLineIndent
appliedParagraphStylestyle refThe paragraph style applied to the range.
appliedCharacterStylestyle refThe character style applied to the range.
frameInsetSpacing
paragraphJustificationenumParagraph alignment/justification.
paragraphStyleNextStyle
paragraphAppliedNumberingList
textFrameColumnCount
textFrameColumnGutter
textFrameColumnBalance
textFrameVerticalJustification
textFrameAutoSizing
textFrameFirstBaseline
characterFontFamily
characterFontStyle
characterKerningMethod
characterCase
characterPosition
characterLanguage
characterBaselineShift
characterHorizontalScale
characterVerticalScale
characterSkew
characterUnderline
characterStrikethru
characterNoBreak
characterLigatures
characterOtfFeatures
paragraphLeftIndent
paragraphRightIndent
paragraphDropCapCharacters
paragraphDropCapLines
paragraphHyphenation
paragraphHyphenationZone
paragraphKeepLinesTogether
paragraphKeepWithNext
paragraphKeepAllLinesTogether
paragraphKeepFirstLines
paragraphKeepLastLines
paragraphStartParagraph
paragraphSpanColumnType
paragraphSpanSplitColumnCount
paragraphSpanColumnMinSpaceBefore
paragraphSpanColumnMinSpaceAfter
paragraphSplitColumnInsideGutter
paragraphSplitColumnOutsideGutter
paragraphRuleAbove
paragraphRuleBelow
paragraphTabStops
paragraphListType
paragraphBulletCharacter
paragraphNumberingFormat
paragraphBulletsTextAfter
paragraphNumberingExpression
paragraphNumberingStartAt
paragraphNumberingContinue
paragraphNumberingLevel
paragraphNumberingApplyRestartPolicy
paragraphBulletsCharacterStyle
paragraphNumberingCharacterStyle
paragraphComposer
paragraphAutoLeading
paragraphSingleWordJustification
paragraphLastLineIndent
paragraphBalanceRaggedLines

Effects demo ▸

frameDropShadow
frameDropShadowMode
frameDropShadowXOffset
frameDropShadowYOffset
frameDropShadowSize
frameDropShadowOpacity
frameDropShadowColor
frameInnerShadow
frameInnerShadowBlendMode
frameInnerShadowColor
frameInnerShadowOpacity
frameInnerShadowAngle
frameInnerShadowDistance
frameInnerShadowSize
frameInnerShadowChoke
frameInnerShadowNoise
frameOuterGlow
frameOuterGlowBlendMode
frameOuterGlowColor
frameOuterGlowOpacity
frameOuterGlowSpread
frameOuterGlowSize
frameOuterGlowNoise
frameInnerGlow
frameInnerGlowBlendMode
frameInnerGlowColor
frameInnerGlowOpacity
frameInnerGlowChoke
frameInnerGlowSize
frameInnerGlowSource
frameInnerGlowNoise
frameBevel
frameBevelStyle
frameBevelTechnique
frameBevelDepth
frameBevelDirection
frameBevelSize
frameBevelSoften
frameBevelAngle
frameBevelAltitude
frameBevelHighlightColor
frameBevelShadowColor
frameBevelHighlightOpacity
frameBevelShadowOpacity
frameSatin
frameSatinBlendMode
frameSatinColor
frameSatinOpacity
frameSatinAngle
frameSatinDistance
frameSatinSize
frameSatinInvert
frameFeather
frameFeatherWidth
frameFeatherCornerType
frameFeatherNoise
frameFeatherChoke
frameDirectionalFeather
frameDirectionalFeatherLeftWidth
frameDirectionalFeatherRightWidth
frameDirectionalFeatherTopWidth
frameDirectionalFeatherBottomWidth
frameDirectionalFeatherAngle
frameDirectionalFeatherNoise
frameDirectionalFeatherChoke
frameDropShadowBlendMode
frameDropShadowSpread
frameDropShadowNoise
frameDropShadowKnockedOut
frameDropShadowUseGlobalLight

Corners & fitting demo ▸

frameFittingCrops
frameFittingType
frameFittingReferencePoint
frameAutoFit
frameCornerOptionTopLeft
frameCornerOptionTopRight
frameCornerOptionBottomLeft
frameCornerOptionBottomRight
frameCornerRadiusTopLeft
frameCornerRadiusTopRight
frameCornerRadiusBottomLeft
frameCornerRadiusBottomRight

Strokes & dashes demo ▸

frameStrokeColorswatch refStroke swatch.
frameStrokeWeightpointsStroke weight in points.
frameStrokeEndCap
frameStrokeStartArrowhead
frameStrokeEndArrowhead
frameGradientStrokeAngle
frameGradientStrokeLength
frameStrokeType
frameStrokeJoin
frameStrokeMiterLimit
frameStrokeAlignment
frameStrokeGapColor
frameStrokeGapTint
frameStrokeDashArray
frameOverprintStroke
frameStrokeOpacity
frameStrokeBlendMode

Fills & gradients demo ▸

frameFillColorswatch refFill swatch (e.g. Color/Red).
frameFillTint0–100Fill tint percentage.
frameGradientFillAngle
frameGradientFillLength
frameOverprintFill
frameFillOpacity
frameFillBlendMode

Transform & geometry demo ▸

frameBounds[t,l,b,r] pointsPage-local bounds in points.
frameTransformaffine [a,b,c,d,e,f]The frame's affine placement transform.
imageContentTransform
framePathPoint
pathPointInsert
pathPointRemove
pathPointCurveType
framePath
frameRotationAngle
frameScaleX
frameScaleY
frameFlipH
frameFlipV

Blend & opacity demo ▸

frameOpacity
frameNonprinting
frameBlendMode

Styles, layers & visibility demo ▸

appliedObjectStyle
itemLayer
appliedConditions
frameContentOpacity
frameContentBlendMode
groupIsolateBlending
groupKnockout
frameGradientFeather
rowStartRow
rowKeepWithNext
pluginMetadata
elementVisible
elementLocked
itemName

On this page