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

How do you get selected page numbers/number of pages in selection?

lonehunter01
Registered: Mar 10 2011
Posts: 2
Answered

I'm trying to find a way to get the selected page numbers, but so far I've only found pageNum, which is an int. I was wondering if there is a way to get the selected page numbers in an array or the number of pages in a selection (would break if the selection was not sequential).
 
Thanks in advance!

try67
Expert
Registered: Oct 30 2008
Posts: 2398
Accepted Answer
Which kind of selection are you talking about? Do you mean in the Pages panel? If so, it's not possible with JS.

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

lonehunter01
Registered: Mar 10 2011
Posts: 2
Yes, the pages panel. Thank you for that confirmation!