10 Replies Latest reply on Dec 29, 2011 10:45 PM by Green4ever

    document revert() method bug?

    கற்பனை (Imagine) Level 3

      Hi All,

       

      I've found the problem when using the revert method in Document class.  If the document has any changes the revert method return the true values, that instance I can't accessing the document name properties.

       

      May be its bug or logic error?

       

      Eg:

       

      var doc = app.activeDocument;
      
      if (doc.revert()) {
           alert(doc.name);
          }
      

      Help me if any solution is possible.

       

      Regards,

      Imagine