bookmarks for each page creates bookmarks for every page of the PDF document.
- Script : bookmarks for each page
- Author : evermap.com
- Type : javascript
- Compatibility : Acrobat - Windows / Mac OS
- Price : FREE
Use
- Copy the code below
- Menu Advanced options > Document processing > Batch processing
- Click on New sequence to make a new batch
- Give the batch a name and validate.
- Click on Select commands and choose Execute javascript in the list
- In the options, choose "Run commands on open documents in Acrobat"
- Click on Add and double click on the line "Execute javascript" on the right.
- In the popping window, paste the code below
- Click ok to close the window
- With an open document, launch the script via the same menu and choose Run sequence after selecting your action.
This script generates bookmarks for every pages in the PDF.
/* Create bookmarks for each page in the document */ var root = this.bookmarkRoot; try { for (var i = 0; i < this.numPages; i++) { root.createChild("Page " + (i+1), "this.pageNum=" + i, i); } } catch(e) { app.alert("Processing error: "+e) }
good
Cheers