StoryWindows

A collection of story windows.

Methods:

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

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

StoryWindow [] (index:Number)

Returns the StoryWindow with the specified index.

Parameter

Type

Description

index

Number

The index.

StoryWindow anyItem ()

Returns any StoryWindow in the collection.

Number count ()

Displays the number of elements in the StoryWindow.

StoryWindow everyItem ()

Returns every StoryWindow in the collection.

StoryWindow firstItem ()

Returns the first StoryWindow in the collection.

StoryWindow item (index:Varies LongInteger String)

Returns the StoryWindow with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

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

StoryWindow itemByName (name:String)

Returns the StoryWindow with the specified name.

Parameter

Type

Description

name

String

The name.

StoryWindow itemByRange (from:Varies LongInteger StoryWindow String, to:Varies LongInteger StoryWindow String)

Returns the StoryWindows within the specified range.

Parameter

Type

Description

from

LongInteger

StoryWindow

String

The StoryWindow, index, or name at the beginning of the range. Can accept: StoryWindow, Long Integer or String.

to

LongInteger

StoryWindow

String

The StoryWindow, index, or name at the end of the range. Can accept: StoryWindow, Long Integer or String.

StoryWindow lastItem ()

Returns the last StoryWindow in the collection.

StoryWindow middleItem ()

Returns the middle StoryWindow in the collection.

StoryWindow nextItem (obj:StoryWindow)

Returns the StoryWindow whose index follows the specified StoryWindow in the collection.

Parameter

Type

Description

obj

StoryWindow

The StoryWindow whose index comes before the desired StoryWindow.

StoryWindow previousItem (obj:StoryWindow)

Returns the StoryWindow with the index previous to the specified index.

Parameter

Type

Description

obj

StoryWindow

The index of the StoryWindow that follows the desired StoryWindow.

String toSource ()

Generates a string which, if executed, will return the StoryWindow.

Object of

Application.storyWindows

Document.storyWindows