Skip to main content
williamr99488068
Participant
February 23, 2020
Answered

Create Tool: Batch Process To Remove Bookmarks From PDF Files

  • February 23, 2020
  • 1 reply
  • 4262 views

Looking for guidance to create a tool or action to enable the batch processing of PDF files to remove bookmarks from them. Is there a built solution or do I need to look to WinTask or similar for a solution?

Correct answer Thom Parker

If you have Acrobat Professional, then an Action (batch process) will do this.

 

Use this script, it removes all bookmarks from a document:

 

this.bookmarkRoot.remove();

 

 

1 reply

Thom Parker
Community Expert
Thom ParkerCommunity ExpertCorrect answer
Community Expert
February 24, 2020

If you have Acrobat Professional, then an Action (batch process) will do this.

 

Use this script, it removes all bookmarks from a document:

 

this.bookmarkRoot.remove();

 

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
williamr99488068
Participant
March 2, 2020

Worked awesome, thanks!