Legal
The views expressed in this blog are my own and do not necessarily reflect the views of Adobe Systems Incorporated.
Search
October 6, 2007
List PDF Bookmarks with a Free Script
Legal professionals use PDF bookmarks to mark important sections. Each bookmark goes to a different view or page in the document.

Recently, I’ve had several requests from legal customers who want to create a list of all of the bookmarks in their document.
For example:

Good news! Because Acrobat is extensible using JavaScript, you can create a bookmark listing like the one above (for free!) using the steps provided in this article.
The key is to install a tiny JavaScript sequence file which is accessed using the Batch Processing function of Acrobat Professional.
Read on to…
- Download a free, pre-built sequence file
- Install the sequence file
- Create a new PDF which lists the bookmarks in your file
Download the Sequence File
Below is a PDF file containing the sequence file. Follow the instructions in the PDF to extract the sequence file.
list_bookmarks (214K) (Opens in a new window)
Installing the Sequence File for Acrobat 8
The instructions below have been tested with Acrobat 8. You will need to adjust them as appropriate for previous versions of Acrobat.
Caution |
The above obligatory warning aside, it works well for me.
- Quit Acrobat if it is open.
- Extract the sequence file contained in the list_bookmarks PDF to your desktop or other location you can find easily.
The sequence file is called List all Bookmarks .sequ - Select the List all Bookmarks .sequ file, right-click and choose Copy to place the file to the clipboard
- Place the file in the following location:
WINDOWS
C:\Documents and Settings\<username>\Application Data\Adobe\Acrobat\8.0\Sequences
MAC OSX PPC
/Users/<username>/Library/Acrobat User Data/8.0_ppc/Sequences
MAC OSX INTEL
/Users/<username>/Library/Acrobat User Data/8.0_x86/Sequences
- Restart Acrobat
Note |
Can't see Files on Windows?
|
Summarizing Bookmarks using the List Bookmarks Sequence
Create a new PDF listing bookmarks by following these steps:
- Open a PDF document in Acrobat Professional which contains bookmarks
- Choose Advanced—>Document Processing—>Batch Processing
- Choose List All Bookmarks from the list and click the Run Sequence button
- A new, temporary document titled “Listing of Bookmarks” will open.
- Choose File—>Save to the location of your choice.
Troubleshooting
Sometimes, the List All Bookmarks sequence will not generate a summary if:
- More than one document is open in Acrobat
Solution: Run the sequence with only a single document open. - A document called “Listing of Bookmarks” is already open in Acrobat.
This is the default file name for the summarized document.
Solution: Save and close the summarized document before running the sequence again.
Need to do more with bookmarks?
Check out these Acrobat plug-ins which offer the ability to copy, list, audit and fix bookmarks.
Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy (updated 07-14-2009).



Comments