Skip to main content
Participant
Jan 14, 2025 1:53 PM UTC
Question

Specific Area Redaction Automation

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.

12 replies

Thom Parker
Community Expert
Community Expert
Jan 14, 2025 7:02 PM UTC

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.  

 

 

Translate
Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
PDF Automation Station
Community Expert
Community Expert
Jan 14, 2025 7:13 PM UTC

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

Translate
Thom Parker
Community Expert
Community Expert
Jan 14, 2025 7:34 PM UTC

Thank You!  However, I think that quote was about how other post didn't work because they were about area location. 

 

But regardless. Clear, explicit info is needed to provide good advice. 

 

And on that topic, the poster stated they were having trouble with JavaScript.  So it would be helpful to see the script they are using. 

 

Translate
Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
PDF Automation Station
Community Expert
Community Expert
Jan 14, 2025 2:24 PM UTC