2 Replies Latest reply on Jul 25, 2015 3:31 AM by Johnwhite

    Question about InDesign Track Change need help

    Johnwhite Level 1

      Hi experts,

       

      I want to find and reject track change, changeType.DELETED_TEXT. and reject it.

       

      How can I do this.

       

      How to make the script as below working?

       

      Regard

      John

       

      #target indesign

      var myDocument = app.documents.item(0);

      var myStory = myDocument.stories.item(0);

      var myChange = myStory.changes.item(0);

             for (var i = changes.length-1; i >= 0; i--) {

                  var myChangeTypes = myChange.changeTypes.DELETED_TEXT;

                  myChange.reject();

                  }