Is it possible to enable and disable Track changes using a script in InDesign?

New Here ,
Jul 08, 2022 Jul 08, 2022

Copy link to clipboard

Copied

Is it possible to enable and disable Track changes using a script?

 

<Title renamed by moderator>

TOPICS
Scripting

Views

45

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Community Professional , Jul 08, 2022 Jul 08, 2022

Yes, it can be done to all stories in the doc or a single story. To enable for all stories in doc: 

 

app.activeDocument.stories.everyItem().trackChanges = true; //or false to turn off

 

Preferences can be set via script via app.trackChangesPreferences, the API for which is here

 

Likes

Translate

Translate
Adobe Community Professional ,
Jul 08, 2022 Jul 08, 2022

Copy link to clipboard

Copied

Yes, it can be done to all stories in the doc or a single story. To enable for all stories in doc: 

 

app.activeDocument.stories.everyItem().trackChanges = true; //or false to turn off

 

Preferences can be set via script via app.trackChangesPreferences, the API for which is here

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 08, 2022 Jul 08, 2022

Copy link to clipboard

Copied

LATEST

Thank you for your help, that's worked

Alex

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines