Skip to main content
Inspiring
July 8, 2022
Answered

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

  • July 8, 2022
  • 1 reply
  • 559 views

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

 

<Title renamed by moderator>

This topic has been closed for replies.
Correct answer brian_p_dts

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

 

1 reply

brian_p_dts
Community Expert
brian_p_dtsCommunity ExpertCorrect answer
Community Expert
July 8, 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

 

Inspiring
July 8, 2022

Thank you for your help, that's worked

Alex