4 Replies Latest reply on Jan 23, 2013 12:53 AM by kela0207

    Check "Document Setup"


      I need to access the page size and width of the document which is usually found in the "File - Document Setup".


      So far, I've been using:

      var width = app.documentPreferences.pageSize;

      var height = app.documentPreferences.pageHeight;


      But unfortunately, I am getting the wrong values and even if I change the size/height via scripting, the document size/height doesn't get changed.