Adobe InDesign CS3 (5.0) Object Model JS: LayoutWindows

InDesign CS3

Class

LayoutWindows

 A collection of layout windows.

QuickLinks

anyItem, count, everyItem, firstItem, item, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

LayoutWindow anyItem ()
Returns any LayoutWindow in the collection.

number count ()
Displays the number of elements in the LayoutWindow.

Array of LayoutWindow everyItem ()
Returns every LayoutWindow in the collection.

LayoutWindow firstItem ()
Returns the first LayoutWindow in the collection.

LayoutWindow item (index: any)
Returns the LayoutWindow with the specified index or name.

ParameterTypeDescription
indexLong Integer
String
The index or name. Can accept: Long Integer or String.

LayoutWindow itemByName (name: string)
Returns the LayoutWindow with the specified name.

ParameterTypeDescription
namestringThe name.

Array of LayoutWindow itemByRange (from: any, to: any)
Returns the LayoutWindows within the specified range.

ParameterTypeDescription
fromLayoutWindow
Long Integer
String
The LayoutWindow, index, or name at the beginning of the range. Can accept: LayoutWindow, Long Integer or String.
toLayoutWindow
Long Integer
String
The LayoutWindow, index, or name at the end of the range. Can accept: LayoutWindow, Long Integer or String.

LayoutWindow lastItem ()
Returns the last LayoutWindow in the collection.

LayoutWindow middleItem ()
Returns the middle LayoutWindow in the collection.

LayoutWindow nextItem (obj: LayoutWindow)
Returns the LayoutWindow whose index follows the specified LayoutWindow in the collection.

ParameterTypeDescription
objLayoutWindowThe LayoutWindow whose index comes before the desired LayoutWindow.

LayoutWindow previousItem (obj: LayoutWindow)
Returns the LayoutWindow with the index previous to the specified index.

ParameterTypeDescription
objLayoutWindowThe index of the LayoutWindow that follows the desired LayoutWindow.

string toSource ()
Generates a string which, if executed, will return the LayoutWindow.

Element of

Application.layoutWindows

Document.layoutWindows

Jongware, 27-Jun-2010 v3.0.3dContents :: Index