I use Adobe Acrobat Pro 9 at work to edit a large number of scanned pdf documents. These are not OCRed. The information I need to quickly mail these documents out are on the first page, but my boss would like this page at the back. I can move the first page to the back using thumbnails, but this gets tedious with a large number of pdfs that are 20+ pages. So far, I am trying to modify a script I found from Bremen_Matt's post:
for (i = 0; i <= this.numPages/2-1; i++)
this.movePage(this.numPages-1,this.numPages/2-i-1);
How to write javascript to reorder pages of a pdf document?
I can almost get it to work, but when I try:
for(i=0;i<=this.numPages/2-2;)
this.movePage(this.numPages-1);
or
for(i=0;i<=this.numPages;i)
this.movePage(this.numPages-1);
I wind up crashing the program. Do you have any thoughts? Thank you!