Skip to main content
Participant
January 14, 2025
Question

Can I BATCH ADD overlay text to redaction properties?

  • January 14, 2025
  • 1 reply
  • 198 views

I have a huge redaction project that has been first-pass reviewed but the redaction marks (b(6)) not yet applied. Counsel wants an additional FOIA redaction exemption (b(7)(c)) added to ALL of the yet-to-be applied redaction marks.  Can I do that in a batch so I don't have to open each of the 900+ documents, then open properties and ADD the new text overlay to every single redaction box (literally thousands of little red boxes - making my head swim!)? 

1 reply

try67
Community Expert
Community Expert
January 14, 2025

You can do it by executing this code on the file, from the JS Console or even as a Custom Command:

 

var counter = 0;
this.syncAnnotScan();
var annots = this.getAnnots();
if (annots!=null) {
	for (var i in annots) {
		var annot = annots[i];
		if (annot.type=="Redact" && annot.overlayText=="(b) (6)") {
			annot.overlayText="(b) (6), (b) (7)(C)";
			counter++;
		}
	}
}
app.alert(counter + " redactions were edited.",3);

 

When done, it will report how many redaction annotations it edited.