Adobe InDesign CS2 (4.0) Object Model JS: AutoCorrectTables

InDesign CS2

Class

AutoCorrectTables

 A collection of auto-correct tables.

QuickLinks

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

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

AutoCorrectTable anyItem ()
Returns any AutoCorrectTable in the collection.

number count ()
Displays the number of elements in the AutoCorrectTable.

Array of AutoCorrectTable everyItem ()
Returns every AutoCorrectTable in the collection.

AutoCorrectTable firstItem ()
Returns the first AutoCorrectTable in the collection.

AutoCorrectTable item (index: any)
Returns the AutoCorrectTable with the specified index or name.

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

AutoCorrectTable itemByID (id: number)
Returns the AutoCorrectTable with the specified ID.

ParameterTypeDescription
idnumberThe ID.

AutoCorrectTable itemByName (name: string)
Returns the AutoCorrectTable with the specified name.

ParameterTypeDescription
namestringThe name.

Array of AutoCorrectTable itemByRange (from: any, to: any)
Returns the AutoCorrectTables within the specified range.

ParameterTypeDescription
fromAutoCorrectTable
Long
String
The AutoCorrectTable, index, or name at the beginning of the range. Can accept: AutoCorrectTable, Long or String.
toAutoCorrectTable
Long
String
The AutoCorrectTable, index, or name at the end of the range. Can accept: AutoCorrectTable, Long or String.

AutoCorrectTable lastItem ()
Returns the last AutoCorrectTable in the collection.

AutoCorrectTable middleItem ()
Returns the middle AutoCorrectTable in the collection.

AutoCorrectTable nextItem (obj: AutoCorrectTable)
Returns the AutoCorrectTable whose index follows the specified AutoCorrectTable in the collection.

ParameterTypeDescription
objAutoCorrectTableThe AutoCorrectTable whose index comes before the desired AutoCorrectTable.

AutoCorrectTable previousItem (obj: AutoCorrectTable)
Returns the AutoCorrectTable with the index previous to the specified index.

ParameterTypeDescription
objAutoCorrectTableThe index of the AutoCorrectTable that follows the desired AutoCorrectTable.

string toSource ()
Generates a string which, if executed, will return the AutoCorrectTable.

Element of

Application.autoCorrectTables

Jongware, 27-Jun-2010 v3.0.3dContents :: Index