Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Create Tool: Batch Process To Remove Bookmarks From PDF Files

New Here ,
Feb 23, 2020 Feb 23, 2020

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?

TOPICS
Edit and convert PDFs , How to
3.9K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
Community Expert ,
Feb 24, 2020 Feb 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 PDFScripting
Use the Acrobat JavaScript Reference early and often

View solution in original post

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 24, 2020 Feb 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 PDFScripting
Use the Acrobat JavaScript Reference early and often

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 02, 2020 Mar 02, 2020

Worked awesome, thanks!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 17, 2021 Apr 17, 2021
LATEST

Thank you for the solution. I want to add the path and detalis to do this;

 

Action wizard => new action =>  in the right side of the new window; locate the folder which we want to remove batch of pdfs => 
in the left pane of the new window; at the bottom; more tools => 
select execute javascript option => 
add to right hand pane this js script => 
specify settings => 
add "this.bookmarkRoot.remove(); " code => 
unclick prompt user => 
in the left pane add save option => 
press save => 
give a name this batch action => 
find your action in the actions menu => 
click that action once and wait => 
then click start => tadaaaa !!!

 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines