These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Randomly extract pages from a PDF

fushyuma
Registered: Jul 27 2011
Posts: 5

Can this be done? I want to randomly extract pages from a PDF.

My Product Information:
Acrobat 9.0, Windows
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4307
With the Acrobat product you can extract a page or range of pages. If needed the extracted pages can then be combined into a single PDF or a portfolio.

Reader can not extract pages, combine pages, nor make a portfolio.

George Kaiser

try67
Expert
Registered: Oct 30 2008
Posts: 2398
Yes, it is possible to create a script that will randomly extract some pages from a PDF file.
Use this.extractPages() to do the actual extracting, and you'll need a separate mechanism to determine the page number (or range) to extract, probably using Math.random().

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

Merlin
Acrobat 9ExpertTeam
Registered: Mar 1 2006
Posts: 766
fushyuma wrote:
Can this be done? I want to randomly extract pages from a PDF.
Hi,

just to be curious: why do you need that?

fushyuma
Registered: Jul 27 2011
Posts: 5
I Need to check just a few pages submitted to me and I want to make it as random as possible to be fair.
Merlin
Acrobat 9ExpertTeam
Registered: Mar 1 2006
Posts: 766
This topic should helps : http://acrobatusers.com/forum/javascript/randomly-displays-pages

;-)