This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Complements: Planet PDF (http://www.planetpdf.com/) | |
// Source: https://forums.adobe.com/thread/286654?start=40&tstart=0 | |
// Modified by | |
// - Christian Sass for Acrobat XI compatibility | |
// - Bernd Alheit for newer Acrobat compatibility | |
// - amoshydra for comsolidating solution | |
// Add a menu item to reverse all pages in the active document | |
app.addToolButton({ cName: "Reverse", cLabel: "Reverse", cExec: "PPReversePages();", cEnable: "event.rc = (event.target != null);"}); | |
app.addToolButton({ cName: "Collate", cLabel: "Collate", cExec: "trustedCollatePages();", cEnable: "event.rc = (event.target != null);"}); |