Copy link to clipboard
Copied
I need to get my document pages to go the opposit way.
For example the first page has to be the last, and vice versa
how can I do that??
Copy link to clipboard
Copied
Hi @hendy_5450 ,
Thank you for reaching out. This is possible if you have access to Adobe Acrobat Pro; there is a feature called "Organize Pages", Please visit this help document: https://adobe.ly/4j7kC4R
To manipulate pages in a PDF, ensure that you have permission to edit the PDF. Select Document properties from the hamburger menu (Windows) or File menu in macOS, then select the Security tab in the dialog. Review your permissions for the document under Document Restrictions Summary.
The page numbers on the document pages don't always match the page numbers that appear below the page thumbnails and in the right Page Navigation toolbar. Pages are numbered with integers, starting with page 1 for the first page of the document. Because some PDFs may contain front matter, such as a copyright page and table of contents, their body pages may not follow the numbering shown in the right Page Navigation toolbar.
You can specify various numbering styles for a group of pages, for example, 1, 2, 3, or i, ii, iii, or a, b, c. You can also customize the numbering system by adding a prefix. For example, pages in Chapter 1 can be 1-1, 1-2, 1-3, and so on. Chapter 2 can have pages numbered as 2-1, 2-2, 2-3, and so on.
Note:
Using the Number Pages command affects only the page thumbnails on the Pages panel. Using the headers and footers feature, you can physically add new page numbers to a PDF.
~Tariq
Copy link to clipboard
Copied
Use this script in the JavaScript console:
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();
Copy link to clipboard
Copied
Copy link to clipboard
Copied
it worked in acrabat, but it's not working in indesign
Copy link to clipboard
Copied
We already answered that. Ask in the InDesign forum for a script that runs in that application. This is an Acrobat forum, and an Acrobat script.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Probably. Try asking in the InDesign forum.
Copy link to clipboard
Copied
I created a simple, free tool that will do it for you with a single click:
https://www.try67.com/tool/acrobat-reverse-page-order-free
Copy link to clipboard
Copied
why can't i use the script?
Copy link to clipboard
Copied
Because that's not Acrobat... InDesign, maybe?
Copy link to clipboard
Copied
Yes, this is InDesign.
I will move the topic.
Copy link to clipboard
Copied
[MOVED TO THE INDESIGN DISCUSSIONS]
Copy link to clipboard
Copied
Install a ME version (it is included in the CC) and change the binding to right in the document setup.
Copy link to clipboard
Copied
Hi @hendy_5450
Try this code:
if (app.documents.length === 0) {
alert("No document is open.");
} else {
var doc = app.activeDocument;
var originalPages = [];
// Lock all page references before moving anything
for (var i = 0; i < doc.pages.length; i++) {
originalPages.push(doc.pages[i]);
}
app.doScript(function () {
for (var i = originalPages.length - 1; i >= 0; i--) {
// Always move the page to the end of the document
originalPages[i].move(LocationOptions.AFTER, doc.pages[-1]);
}
}, ScriptLanguage.JAVASCRIPT, undefined, UndoModes.ENTIRE_SCRIPT, "Reverse Page Order");
}
Copy link to clipboard
Copied
Hi @Anantha Prabu G , I think @hendy_5450 asked the same question here:
https://community.adobe.com/t5/indesign-discussions/pages-in-opposite-order/m-p/15333566#M625716
They are trying to get reverse auto page numbering (not move the pages)?
Copy link to clipboard
Copied
@hendy_5450 asked: " …
For example the first page has to be the last, and vice versa
how can I do that??"
Hi @hendy_5450 ,
if your aim with InDesign is to export the pages to PDF in opposite order for e.g. a document with 12 pages, you can change the range in the PDF export dialog with:
12,11,10,9,8,7,6,5,4,3,2,1
instead of using the all pages default.
You could also use absolute page numbering in the PDF export dialog if your document starts with a different page name and/or has various sections with different page start numberings. For absolute page numbering the scheme is to use page positions with a + in front of the number like that exports a PDF in reverse order:
+12,+11,+10,+9,+8,+7,+6,+5,+4,+3,+2,+1
12th page in the document is first, first page in the document is last.
Regards,
Uwe Laubender
( Adobe Community Expert )
Find more inspiration, events, and resources on the new Adobe Community
Explore Now