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

767

Likes

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

Adobe Community Professional , 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();

Likes

Translate

Translate
Adobe Community Professional ,
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

Likes

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!

Likes

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

 

 

Likes

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