InDesign Server2025
API 20.5.0.49
Object

Change

A tracked change made to a story.

Properties

NameType AccessDescription
ChangeTypes
readonly The type of tracked change. Note: Valid only when track changes is true.
Characters<Character> readonly A collection of characters.
Date readonly The date on which the tracked change was made. Note: Valid only when track changes is true.
EventListeners<EventListener> readonly A collection of event listeners.
Events<Event> readonly A collection of events.
Number readonly The index of the Change within its containing object.
InsertionPoints<InsertionPoint> readonly A collection of insertion points.
Boolean readonly Returns true if the object specifier resolves to valid objects.
Lines<Line> readonly A collection of lines.
Paragraphs<Paragraph> readonly A collection of paragraphs.
XmlStory | Cell | Story readonly The parent of the Change (a Story, XmlStory or Cell).
Object read/write A property that allows setting of several properties at the same time.
InsertionPoint readonly The location of the first insertion point in the object (relative to the beginning of the story).
TextColumns<TextColumn> readonly A collection of text columns.
TextStyleRanges<TextStyleRange> readonly A collection of text style ranges.
TextVariableInstances<TextVariableInstance> readonly A collection of text variable instances.
Texts<Text> readonly A collection of text objects.
String readonly The user who made the change. Note: Valid only when track changes is true.
Words<Word> readonly A collection of words.

Methods

void

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

EventListener

Adds an event listener.

eventType String The event type.
handler File | JavaScriptFunction The event handler. Can accept: File or JavaScript Function.
captures? Boolean This parameter is obsolete.
Change[]

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

void

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

Boolean

Removes the event listener.

eventType String The registered event type.
handler File | JavaScriptFunction The registered event handler. Can accept: File or JavaScript Function.
captures? Boolean This parameter is obsolete.
String

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

String

Retrieves the object specifier.

Object of 12

Properties elsewhere that hold a Change.

Parameter of 4

Method parameters that accept a Change.

Return 11

Methods that return a Change.