14 Replies Latest reply on May 20, 2016 5:40 AM by vinothr

    Way to detect if an Indesign Document has unsaved changes

    kapoor_aman27 Level 1

      I have an InDesign document that I have saved. After saving the document, I make some changes to it. Now I want to detect if there are any unsaved changes in the document through JSX. I have tried to use the property document.saved, but this method only tells me if the document was saved for the first time.


      If have some unsaved changes in a document that has been previously saved, document.saved still returns true.

      Is there any other way to detect unsaved changes for a document?