Indesign Scripting Reference
home | search | Links
JavaScript >> Characters

Characters

A collection of characters.

Characters Properties

Property Type Access Description
item Object read Returns the character with the specified index or name.
length Long read The number of characters in the collection.

Characters Methods

Method Returns Description
anyItem Object Returns any character.
firstItem Object Returns the first character.
itemByRange Objects Returns the characters within the specified range.
lastItem Object Returns the last character.
middleItem Object Returns the middle character.
nextItem Object Returns the next character.
previousItem Object Returns the previous character.