10 Replies Latest reply on Feb 24, 2017 3:36 AM by Tarpii

    Insert a PDF into another PDF - every other page


      I have a 2000+ page document that I am trying to insert another PDF after every second page. I'm a Javascript novice and I've managed to get this far. Can anyone offer any advise as to what I'm doing wrong?



      for (var i=this.numPages-1; i>=0; i--) {     if (i % 2 == 0) { { this.insertPages(i, "FileToInsert.pdf"); }