Skip to main content
Participant
February 8, 2017
Question

My document came in reverse order. How do I change the order?

  • February 8, 2017
  • 2 replies
  • 1774 views

My document came in reverse order. How do I change the order?

This topic has been closed for replies.

2 replies

try67
Community Expert
Community Expert
February 8, 2017

I created a free tool that does it with a single click: Custom-made Adobe Scripts: Acrobat -- Reverse Page Order (FREE)

Participant
February 8, 2017

Added comment. This is in Acrobat 11

Inspiring
February 8, 2017

The following script can be added to the Acrobat application JavaScript folder or the user's JavaScript folder.

// Add a menu item to reverse all pages in the active document
// Complements: Planet PDF (http://www.planetpdf.com/)

app.addMenuItem({ cName: "Reverse", cParent: "Edit", cExec: "PPReversePages();", cEnable: "event.rc = (event.target != null);", nPos: 0
});


function PPReversePages()
{
var t = app.thermometer;
t.duration = this.numPages;
t.begin();
for (i = this.numPages - 1; i >= 0; i--)
{
  t.value = (i-this.numPages)*-1;
  this.movePage(i);
  t.text = 'Moving page ' + (i + 1);
}
t.end();
return true;
}

After installing it, restart Acrobat and one should see a new menu item under "Edit" labeled "Reverse". Now open a PDF and click on the new menu option.

Participant
February 8, 2017

Thank you.

Sincerely,

Frank Cuthbert

[Private info removed. -Mod.]