4 Replies Latest reply on Dec 4, 2009 10:11 AM by CompTerra

    Add button to every pdf via batch process


      I have the following basic script...what do I use to get the button placed in a differnt spot, how do the cordinates work...I have tweaked the numbers (arect) below but they are very limited as to the placement in the document.  Also is there a way to get the cordinates from a current button displayed in the console?


      var inch = 72;


      for (var p = 0; p < this.numPages; p++) {
      var aRect = [520, 688, 580, 700];
      var f = this.addField("myField", "text",
      p, aRect);
      f.strokeColor = color.black;
      f.fillColor = color.yellow;