Skip to main content
Participant
January 14, 2025
Question

Specific Area Redaction Automation

  • January 14, 2025
  • 2 replies
  • 1666 views

Hello, I've recently picked up a task involving a list of company names.

 

I need to use the redact tool to remove information from this list so that the entries for only one company are visible. I then need to repeat this process for each company.

 

I've tried using the JavaScript function but can't seem to get that to work, specifically with difficulty in labelling variables.

 

I looked in forums for similar posts but these seem to refer to processes which repeat redactions of the same area.

 

Thank you for any help.

2 replies

Thom Parker
Community Expert
Community Expert
January 14, 2025

How is the information identified?  It is simple to automate redaction if it's in the same location on every document, or it has a unique pattern that can be identified with text matching.  

 

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
PDF Automation Station
Community Expert
Community Expert
January 14, 2025

The poster said "which repeat redactions of the same area" so I linked to your article.

Thom Parker
Community Expert
Community Expert
January 14, 2025

Man, that is a good article, if I do say so myself.  It says it's for Acrobat 9 in the title, but everything in it is still bang on for Acrobat DC. 

 

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
PDF Automation Station
Community Expert
Community Expert
January 14, 2025