Change

A tracked change made to a story.

Methods:

accept, getElements, reject, toSource, toSpecifier

Objects:

ChangeTypes, Characters.html#d1e189509, Date, InsertionPoint.html#d1e208283, InsertionPoints.html#d1e211719, Lines.html#d1e196906, Number, Object, Paragraphs.html#d1e204323, String, TextColumns.html#d1e200604, TextStyleRanges.html#d1e208021, TextVariableInstances, Texts.html#d1e185811, Words.html#d1e193208

Property Listing

Property

Type

Access

Description

changeType

ChangeTypes

ChangeTypes.DELETED_TEXT

ChangeTypes.INSERTED_TEXT

ChangeTypes.MOVED_TEXT

readonly

The type of tracked change. Note: Valid only when track changes is true.

characters

Characters.html#d1e189509 Character.html#d1e186073

readonly

A collection of characters.

date

Date

readonly

The date on which the tracked change was made. Note: Valid only when track changes is true.

index

Number

readonly

The index of the Change within its containing object.

insertionPoints

InsertionPoints.html#d1e211719 InsertionPoint.html#d1e208283

readonly

A collection of insertion points.

lines

Lines.html#d1e196906 Line.html#d1e193470

readonly

A collection of lines.

paragraphs

Paragraphs.html#d1e204323 Paragraph.html#d1e200866

readonly

A collection of paragraphs.

parent

Story.html#d1e215145

readonly

The parent of the Change (a Story).

properties

Object

read/write

A property that allows setting of several properties at the same time.

storyOffset

InsertionPoint.html#d1e208283

readonly

The location of the first insertion point in the object (relative to the beginning of the story).

textColumns

TextColumns.html#d1e200604 TextColumn.html#d1e197168

readonly

A collection of text columns.

textStyleRanges

TextStyleRanges.html#d1e208021 TextStyleRange.html#d1e204585

readonly

A collection of text style ranges.

textVariableInstances

TextVariableInstances TextVariableInstance

readonly

A collection of text variable instances.

texts

Texts.html#d1e185811 Text.html#d1e182378

readonly

A collection of text objects.

userName

String

readonly

The user who made the change. Note: Valid only when track changes is true.

words

Words.html#d1e193208 Word.html#d1e189771

readonly

A collection of words.

Method Listing

undefined accept ()

Accepts the tracked change. Note: Valid only when track changes is true.

Change getElements ()

Resolves the object specifier, creating an array of object references.

undefined reject ()

Rejects the tracked change. Note: Valid only when track changes is true.

String toSource ()

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

String toSpecifier ()

Retrieves the object specifier.

Object of

Character.html#d1e186073.parent

InsertionPoint.html#d1e208283.parent

Line.html#d1e193470.parent

Paragraph.html#d1e200866.parent

Text.html#d1e182378.parent

TextColumn.html#d1e197168.parent

TextStyleRange.html#d1e204585.parent

TextVariableInstance.parent

Word.html#d1e189771.parent

Return

Change.getElements()

Changes.anyItem()

Changes.everyItem()

Changes.nextItem()

Changes.previousItem()

Changes.item()

Changes.itemByName()

Changes.itemByRange()

Changes.firstItem()

Changes.lastItem()

Changes.middleItem()