Adobe InDesign CS5.5 (7.5) Object Model JS: LayoutWindows

InDesign CS5.5

Class

LayoutWindows

 A collection of layout windows.

See also LayoutWindow.

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 [] (index: number)
Returns the LayoutWindow with the specified index.

ParameterTypeDescription
indexnumberThe index.

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: varies)
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: varies, to: varies)
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, 28-Apr-2012 v3.0.3iContents :: Index