Texts

A collection of text objects.

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

Text anyItem ()

Returns any Text in the collection.

Number count ()

Displays the number of elements in the Text.

Text everyItem ()

Returns every Text in the collection.

Text firstItem ()

Returns the first Text in the collection.

Text item (index:Varies Long String)

Returns the Text with the specified index or name.

Parameter

Type

Description

index

Long

String

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

Text itemByName (name:String)

Returns the Text with the specified name.

Parameter

Type

Description

name

String

The name.

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

Returns the Texts within the specified range.

Parameter

Type

Description

from

Long

Text

String

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

to

Long

Text

String

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

Text lastItem ()

Returns the last Text in the collection.

Text middleItem ()

Returns the middle Text in the collection.

Text nextItem (obj:Text)

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

Parameter

Type

Description

obj

Text

The Text whose index comes before the desired Text.

Text previousItem (obj:Text)

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

Parameter

Type

Description

obj

Text

The index of the Text that follows the desired Text.

String toSource ()

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

Object of

Cell.texts

Text.texts

Character.texts

Word.texts

Line.texts

TextColumn.texts

Paragraph.texts

TextStyleRange.texts

InsertionPoint.texts

TextFrame.texts

Story.texts

TextPath.texts

Note.texts

Footnote.texts

XMLElement.texts