6 Replies Latest reply on Jan 9, 2009 2:45 PM by kentgbaker

    Why does this script changes modification date???

    kentgbaker Level 1
      Hello All,

      I am using this script with an Acrobutton to advise my users of the current PDF version.

      var stmDoc = Collab.documentToStream(this)
      var strDoc = util.stringFromStream(stmDoc);
      var strVer = strDoc.substr(5,3)
      app.alert({cMsg: "The PDF version is: " + strVer, nIcon: 3, nType: 0, cTitle: "PDF Version Check"});

      Problem is that when closing the document, even though not prompted, the file is saved (assumed, since the modification date changes).

      Is there anything about this script that is doing this?