Script to reorder or rearrange or collate a document

New Here ,
Mar 02, 2018

Copy link to clipboard

Copied

Hello,

I'm looking for a script I could run in Adobe Acrobat X which will rearrange my document based on coma separated numbers in a variable.

For example, var Order = 1,4,7,2,5,8,3,6,9.  Let's say I have a 9 page document and I need page 1 first, then page 4, then page 7, then page 2, then page 5.. per the variable. I know I could just print it like this, but sometimes I have more pages than can fit, so I need the document sorted.  For example, 1,23,45,2,24,46,3,25,47,4,26,48,5,27,49,6,28,50,7,29,51,8,30,52,9,31,53,10,32,54,11,33,55,12,34,56,13,35,57,14,36,58,15,37,59,16,38,60,17,39,61,18,40,62,19,41,63,20,42,64,21,43,65,22,44,66.

Any help would be appreciated!

TOPICS
Acrobat SDK and JavaScript

Views

81

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Script to reorder or rearrange or collate a document

New Here ,
Mar 02, 2018

Copy link to clipboard

Copied

Hello,

I'm looking for a script I could run in Adobe Acrobat X which will rearrange my document based on coma separated numbers in a variable.

For example, var Order = 1,4,7,2,5,8,3,6,9.  Let's say I have a 9 page document and I need page 1 first, then page 4, then page 7, then page 2, then page 5.. per the variable. I know I could just print it like this, but sometimes I have more pages than can fit, so I need the document sorted.  For example, 1,23,45,2,24,46,3,25,47,4,26,48,5,27,49,6,28,50,7,29,51,8,30,52,9,31,53,10,32,54,11,33,55,12,34,56,13,35,57,14,36,58,15,37,59,16,38,60,17,39,61,18,40,62,19,41,63,20,42,64,21,43,65,22,44,66.

Any help would be appreciated!

TOPICS
Acrobat SDK and JavaScript

Views

82

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Mar 02, 2018 0
Adobe Community Professional ,
Mar 02, 2018

Copy link to clipboard

Copied

You can download that exact tool from this subscription site: Move Pages Tool

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 02, 2018 0
try67 LATEST
Most Valuable Participant ,
Mar 03, 2018

Copy link to clipboard

Copied

I've also developed something that lets you do that. You can also specify whole ranges, not just individual page numbers: Custom-made Adobe Scripts: Acrobat -- Extract Non-Sequential Pages

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 03, 2018 0