Skip to main content
Participant
May 28, 2020
Question

Extract Bookmark and Page Numbers

  • May 28, 2020
  • 3 replies
  • 8318 views

I find myself recieving rather large documents without tables of contents, bookmarks, or page numbers for individual documents. After accessing the documents and creating bookmarks for each individual document, I would like to generate a report that includes the Bookmark and the Page Number for the Bookmark.

 

I have noticed several different codes online that may help in accomplishing this. However, they appear to be for older version of Adobe and/or have a syntax error.

 

Any help is appreciated. I cannot justify an additional $1,000 to $5,000 a year just to export bookmark information.

3 replies

Thom Parker
Community Expert
Community Expert
May 28, 2020

You'll find a free bookmark report Action here:

https://acrobatusers.com/actions-exchange/

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Participant
August 4, 2021

Hi Thom, May I know how to extract page numbers of all the bookmarks?

 

Thom Parker
Community Expert
Community Expert
August 4, 2021

Why yes, of course.  Download the scripts at either of the provided links and then exmine the code. 

 

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
try67
Community Expert
Community Expert
May 28, 2020

I've developed a couple of (paid-for) tools that allow you to do that. See:

http://try67.blogspot.com/2008/11/acrobat-export-bookmarks-to-pdf-txt.html

http://try67.blogspot.com/2011/03/acrobat-create-toc-from-bookmarks.html

They are all for a one-time fee, and under $100.

Bernd Alheit
Community Expert
Community Expert
May 28, 2020

What scripts have you found?

RLane123Author
Participant
May 28, 2020
Bernd Alheit
Community Expert
Community Expert
May 28, 2020

The correct scripts will work in Adobe Acrobat DC.