Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
This doesn't work. My files are numbered 1-25 and when I combined them, they ended up in reverse order. I now need to have them appear in the numbered order, but can't find any way to do that. Very frustrating!
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Worked like a charm! Thank you.
Frank
Copy link to clipboard
Copied
How do you "run" the script? I got the box open, the script is in, so now what?
Copy link to clipboard
Copied
Under the Document Menu, you will find Reverse Page Order. Just click on that. (see attached screen shot)
Hope this helps.
Copy link to clipboard
Copied
You must have a different version than me, I dont have that option. (I have cs4 Acrobat 9 Pro)
I ended up printing to PDF and selecting reverse page order there.
Copy link to clipboard
Copied
I have the exact same set up (on a Mac).
Printing Reverse Page order works, too. We mainly use the reverse page order option when we need to send the PDF itself to a customer.
It's been a while since I installed mine, but I think I remember tweaking the coding some myself to get it to show in the menu where I wanted it to show.
But in any case, it should show under the Document menu somewhere.
Copy link to clipboard
Copied
Ah, yes, I remember now, it used to show up under the Header & Footer in the Document menu. I changed the code to make it show directly under the Document menu.
Copy link to clipboard
Copied
Still beats me, I can't find it.
Copy link to clipboard
Copied
Are you on Mac or PC?
Copy link to clipboard
Copied
Admittedly, PC.
Copy link to clipboard
Copied
That still shouldn't be a problem, as long as you installed it in the right place.
I take back what I said about changing the code to make it fall in "the right place" in the menu. I am looking at my copy of the code right now, and I only changed the Menu Name for the command.
Here's what I have:
app.addMenuItem({ cName: "Reverse Page Order", cParent: "Document", 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();
}// JavaScript Document
Copy link to clipboard
Copied
Thank you so much!
Copy link to clipboard
Copied
Saviour works a treat!
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Here's the answer: Put this file in your Acrobat Javascipt Folder (C:\Program Files\Adobe\Acrobat 9.0\Acrobat\Javascripts) and start Acrobat. The Reverse option will be under the Document menu underneath Header&Footer. In case you do not want to download the script I have copied it below. Works like a charm.
app.addMenuItem({ cName: "Reverse", cParent: "Document", 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();
}// JavaScript Document
Copy link to clipboard
Copied
Is there something in the code that only allows the menu item to be added in Acrobat 9? I have a user that will be needing this feature a lot in the very near future and adding this menu option would greatly help with an upcoming scanning project but I tried adding the script to correct directory on her system with Acrobat Standard 8 but I don't get anything on the "Document" menu or the "Document > Header & Footer" menu.
On my Acrobat 9 Professional installation using the script I get the menu option right on the "Document" menu.
Also, now I am being a little picky here but how would I get it further down on the list so that it is grouped with other "like" page commands?
Copy link to clipboard
Copied
This is a special thank you for solving a problem that has eluded me for too long.
I do appreciate it. So simple but so effective! (And I don't have a Macintosh)
Ed3618
Copy link to clipboard
Copied
Wow GQDiaz,
What a wonderful gift you have given us! You have saved me hours of shuffling pages one by one between large cumbersome document scans.
Your script works like a dream. Thank you for this gift.
With kind regards,
jaxios
Copy link to clipboard
Copied
Anyone have any idea where this script should be put on a Mac. I could really use this script!!
Thanks for writing it!
Copy link to clipboard
Copied
Found it:
a. WIN XP
C:\Documents and Settings\Administrator\Application Data\Adobe\Acrobat \9.0\JavaScriptsb. WIN VISTA
C:\Users\USERNAME\AppData\Roaming\Adobe\Acrobat\9.0\JavaScriptsc. MAC OSX
/Users/YOURUSER/Library/Application Support/Adobe/Acrobat/9.0_x86/ JavaScripts
Copy link to clipboard
Copied
For some reason this path wasn't working for me. Has this changed in the last 13 years perhaps? Thanks!
Copy link to clipboard
Copied
Yes. It's:
C:\Program Files\Adobe\Acrobat <VERSION NUMBER>\Acrobat\JavaScripts
Or:
C:\Program Files (x86)\Adobe\Acrobat <VERSION NUMBER>\Acrobat\JavaScripts