Words
A collection of words.
Go to Property Listing | Method Listing
Methods:
[], anyItem, count, everyItem, firstItem, item, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
The number of objects in the collection. |
Method Listing
Word [] (index:Number)
Returns the Word with the specified index.
Parameter |
Type |
Description |
---|---|---|
index |
The index. |
Word anyItem ()
Returns any Word in the collection.
Number count ()
Displays the number of elements in the Word.
Word everyItem ()
Returns every Word in the collection.
Word firstItem ()
Returns the first Word in the collection.
Word item (index:Varies LongInteger String)
Returns the Word with the specified index or name.
Parameter |
Type |
Description |
---|---|---|
index |
LongInteger |
The index or name. Can accept: Long Integer or String. |
Word itemByRange (from:Varies LongInteger Word String, to:Varies LongInteger Word String)
Returns the Words within the specified range.
Parameter |
Type |
Description |
---|---|---|
from |
LongInteger |
The Word, index, or name at the beginning of the range. Can accept: Word, Long Integer or String. |
to |
LongInteger |
The Word, index, or name at the end of the range. Can accept: Word, Long Integer or String. |
Word lastItem ()
Returns the last Word in the collection.
Word middleItem ()
Returns the middle Word in the collection.
Word nextItem (obj:Word)
Returns the Word whose index follows the specified Word in the collection.
Parameter |
Type |
Description |
---|---|---|
obj |
The Word whose index comes before the desired Word. |
Word previousItem (obj:Word)
Returns the Word with the index previous to the specified index.
Parameter |
Type |
Description |
---|---|---|
obj |
The index of the Word that follows the desired Word. |
String toSource ()
Generates a string which, if executed, will return the Word.
Object of
Cell.words
Text.words
Character.words
Word.words
Line.words
TextColumn.words
Paragraph.words
TextStyleRange.words
InsertionPoint.words
TextFrame.words
Story.words
Endnote.words
EndnoteTextFrame.words
Change.words
TextPath.words
Note.words
Footnote.words
HiddenText.words
XMLElement.words
XmlStory.words