JavaScript

RadiobuttonControl

August 23, 2010

An individual radio button control. RadiobuttonControl Properties Property Type Access Description checkedState Boolean r/w The checked state of the control. id Long read A unique number identifying the object. index Long read Index of the object within its parent object. minWidth Real r/w The minimum width for this control. parent Object read The parent of [...]

Read the full article →

AnchoredObjectDefault

August 23, 2010

Anchored object defaults. AnchoredObjectDefault Properties Property Type Access Description anchorContent ContentType enumeration r/w The initial frame type for a new anchored object. anchoredObjectStyle ObjectStyle r/w The initial object style of a new anchored object. anchoredParagraphStyle ParagraphStyle r/w The initial paragraph style of a new anchored text frame object. initialAnchorHeight Real r/w The initial height of [...]

Read the full article →

AnchoredObjectSetting

August 23, 2010

Anchored object settings. AnchoredObjectSetting Properties Property Type Access Description anchoredPosition AnchorPosition enumeration r/w The position of the anchored object relative to the anchor point. anchorPoint AnchorPoint enumeration r/w The point on the anchored object to locate at the position specified by the anchoredPosition property. anchorSpaceAbove Real r/w The space above an anchored object when its [...]

Read the full article →

AngleCombobox

August 23, 2010

An angle combobox control. AngleCombobox Properties Property Type Access Description editContents String r/w The text in the text edit field of the control. editValue Real r/w Real number value of the angle combobox, in degrees. id Long read A unique number identifying the object. index Long read Index of the object within its parent object. [...]

Read the full article →

AngleComboboxes

August 23, 2010

A collection of angle combobox controls. AngleComboboxes Properties Property Type Access Description item Object read Returns the angle combobox with the specified index or name. length Long read The number of angle comboboxes in the collection. AngleComboboxes Methods Method Returns Description add AngleCombobox Creates a new angle combobox. anyItem Object Returns a random angle combobox [...]

Read the full article →

AngleEditbox

August 23, 2010

An angle editbox control. AngleEditbox Properties Property Type Access Description editContents String r/w The text in the text edit field of the control. editValue Real r/w Real number value of the angle combobox, in degrees. id Long read A unique number identifying the object. index Long read Index of the object within its parent object. [...]

Read the full article →

AngleEditboxes

August 23, 2010

A collection of angle editbox controls. AngleEditboxes Properties Property Type Access Description item Object read Returns the angle editbox with the specified index or name. length Long read The number of angle editboxes in the collection. AngleEditboxes Methods Method Returns Description add AngleEditbox Creates a new angle editbox. anyItem Object Returns a random angle editbox. [...]

Read the full article →

Application

August 23, 2010

The InDesign application. Application Properties Property Type Access Description activeDocument Document r/w The active (front-most) document. activeScript File read The file path to the script running from the Scripts palette. activeWindow Window, LayoutWindow, StoryWindow r/w The active (front-most) window. anchoredObjectDefaults AnchoredObjectDefault read Anchored object defaults. anchoredObjectSettings AnchoredObjectSetting read Anchored object settings for the object. autoCorrectPreferences [...]

Read the full article →

Asset

August 23, 2010

A library asset. Asset Properties Property Type Access Description assetType AssetType enumeration r/w The type of the asset. date Date read Date and time. description String r/w Description of the asset. id Long read A unique number identifying the object. index Long read Index of the object within its parent object. label String r/w A [...]

Read the full article →

Assets

August 23, 2010

A collection of library assets. Assets Properties Property Type Access Description item Object read Returns the asset with the specified index or name. length Long read The number of assets in the collection. Assets Methods Method Returns Description anyItem Object Returns any asset. firstItem Object Returns the first asset. itemByID Object Returns the asset with [...]

Read the full article →