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 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 Long String)

Returns the StoryWindow with the specified index or name.

Parameter

Type

Description

index

Long

String

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

StoryWindow itemByName (name:String)

Returns the StoryWindow with the specified name.

Parameter

Type

Description

name

String

The name.

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

Returns the StoryWindows within the specified range.

Parameter

Type

Description

from

Long

StoryWindow

String

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

to

Long

StoryWindow

String

The StoryWindow, index, or name at the end of the range. Can accept: StoryWindow, Long 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