Skip to main content
Participant
May 28, 2020 3:30 PM UTC
Question

Extract Bookmark and Page Numbers

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.

14 replies

Thom Parker
Community Expert
Community Expert
May 28, 2020 11:37 PM UTC

You'll find a free bookmark report Action here:

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

 

Translate
Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Participant
Aug 4, 2021 2:19 PM UTC

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

 

Translate
Thom Parker
Community Expert
Community Expert
Aug 4, 2021 5:15 PM UTC

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

 

 

Translate
Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
try67
Community Expert
Community Expert
May 28, 2020 4:12 PM UTC

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.

Translate
Bernd Alheit
Community Expert
Community Expert
May 28, 2020 3:39 PM UTC

What scripts have you found?

Translate
RLane123Author
Participant
May 28, 2020 3:43 PM UTC
Bernd Alheit
Community Expert
Community Expert
May 28, 2020 4:46 PM UTC

The correct scripts will work in Adobe Acrobat DC.

Translate