Paged.The open publishing system
The technical handbook
Scripting (paged.*)

Paged Docs / Scripting with 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

FormExampleMeaning
textFrame:<id>textFrame:u123A text frame. Same scheme: rectangle:/oval:/polygon:/graphicLine:/group:.
rectangle:<id>rectangle:u12A rectangle (graphic frame).
oval:<id>oval:u13An oval.
polygon:<id>polygon:u14A polygon or open path.
graphicLine:<id>graphicLine:u15A graphic line.
group:<id>group:u88A group. paged.set("group:<id>", "groupTransform", [a,b,c,d,tx,ty]) moves it as a unit.
frame:<id>frame:u123Any page item, kind unknown (alias). paged.address / paged.query resolve it to the kind-specific form.
storyRange:<storyId>@<start>..<end>storyRange:Story/[email protected]A character range within a story (half-open). storyId comes from paged.stories()[].selfId. Alias: story:<storyId>@<start>..<end>.
docdocThe document itself.
page:<id>page:u1a2A body page, by its Self id (paged.pages()[].selfId), or page:#<n> for the n-th page (1-based).
spread:<id>spread:u1a1A spread, by its Self id.
layer:<id>layer:ub3A layer, by its Self id (paged.layers()).
master:<id>master:ua9A master spread. master:<id> > textFrame:<id> names an item on it.
story:<id>story:Story/u1A story, by its Self id.
field:<storyId>@<offset>field:Story/u1@12A text field anchored at a story character offset (paged.placeholders / RequestDocumentPlaceholders).
table:<id>table:u2fA table, by its Self id (unique per document).
cell:<tableId>/<row>,<col>cell:u2f/0,1A table cell, zero-based row and column.
style:<family>/<selfId>style:paragraph/ParagraphStyle/BodyA style; family is paragraph | character | object | cell | table. The display name is accepted in place of the Self id.
swatch:<id>swatch:Color/RedA colour or swatch, by its Self id.
gradient:<id>gradient:Gradient/u1A gradient, by its Self id.
colorGroup:<id>colorGroup:ColorGroup/u7A colour group.
numberingList:<id>numberingList:NumberingList/StepsA numbering list.
guide:<id>guide:u5cA ruler guide.
condition:<id>condition:Condition/DraftA text condition.
conditionSet:<id>conditionSet:u3dA condition set.
section:<id>section:u4eA numbering section.
hyperlink:<id>hyperlink:u6aA hyperlink.
textVariable:<id>textVariable:dTextVariablenFile NameA 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>plugin:paged.image/layer/7An object a plugin owns. Opaque to core and carried through unchanged.
$h:<name>$h:newFrameA 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.

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

Anchored objects & text wrap15 Run in the lab ▸

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

Tables & cells21 Run in the lab ▸

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

Text & paragraph82 Run in the lab ▸

PathTypeMeaning
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——
characterHighlightColor——
characterHidden——
characterUnderlineType——
characterUnderlineColor——
characterDoubleStrikethrough——
paragraphShadingOn——
paragraphShadingColor——
paragraphShadingTint——
paragraphBorderOn——
paragraphBorderColor——
paragraphBorderWeight——
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——

Effects70 Run in the lab ▸

PathTypeMeaning
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 & fitting12 Run in the lab ▸

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

Strokes & dashes17 Run in the lab ▸

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

Fills & gradients9 Run in the lab ▸

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

Transform & geometry13 Run in the lab ▸

PathTypeMeaning
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 & opacity3 Run in the lab ▸

PathTypeMeaning
frameOpacity——
frameNonprinting——
frameBlendMode——

Styles, layers & visibility16 Run in the lab ▸

PathTypeMeaning
appliedObjectStyle——
itemLayer——
appliedConditions——
framePdfPage——
frameContentOpacity——
frameContentBlendMode——
groupIsolateBlending——
groupKnockout——
groupClip——
frameGradientFeather——
rowStartRow——
rowKeepWithNext——
pluginMetadata——
elementVisible——
elementLocked——
itemName——

On this page