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

Create Tool: Batch Process To Remove Bookmarks From PDF Files

New Here ,
Feb 23, 2020 Feb 23, 2020

Copy link to clipboard

Copied

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

Views

3.1K

Translate

Translate

Report

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

correct answers 1 Correct answer

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();

 

 

Votes

Translate

Translate
Community Expert ,
Feb 24, 2020 Feb 24, 2020

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

Worked awesome, thanks!

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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 !!!

 

 

Votes

Translate

Translate

Report

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