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

Need to change redaction color after redaction editing has taken place

New Here ,
May 22, 2018 May 22, 2018

Copy link to clipboard

Copied

I have redacted a document using the default color black. I have been told, the redaction color should be blue instead of black. Is there a way to apply the color change to all redacted text at the same time or must it be done individually?

TOPICS
General troubleshooting

Views

7.5K

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
Community Expert ,
May 22, 2018 May 22, 2018

Copy link to clipboard

Copied

Did you already apply the redactions?

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 ,
May 22, 2018 May 22, 2018

Copy link to clipboard

Copied

The content is marked for redaction, but the redaction has not yet been applied.

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
Community Beginner ,
Apr 20, 2021 Apr 20, 2021

Copy link to clipboard

Copied

Does anyone know the answer to this?  We are currently being asked to mark up documents to be redacted in red, but aren't yet applying the changes as the client has to approve them first.  There is a posibility that the client will decide to change the redaction colour.  Is there a way to apply a blanket change to all of the existing marked up redactions at once, ore do we have to do them all individually?

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
Community Expert ,
Apr 20, 2021 Apr 20, 2021

Copy link to clipboard

Copied

Use Tools > Comment

Select the redact markups and change the properties.

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
Community Expert ,
Apr 20, 2021 Apr 20, 2021

Copy link to clipboard

Copied

You can do it using this code to change all the redactions markups to be red, for example:

 

this.syncAnnotScan();
var annots = this.getAnnots();
if (annots!=null) {
	for (var i in annots) {
		var annot = annots[i];
		if (annot.type=="Redact") annot.fillColor = color.red;
	}
}

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 ,
Sep 24, 2021 Sep 24, 2021

Copy link to clipboard

Copied

Thank you so much for this, you saved me a ton of time!

By the way, if you want grey redactions, change the "color.red" to "color.gray" – US spelling, not UK spelling 🙂

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
LEGEND ,
Sep 24, 2021 Sep 24, 2021

Copy link to clipboard

Copied

Here's a tutorial on specifying colours/colors in Acrobat JavaScript. https://acrobatusers.com/tutorials/using-colors-acrobat-javascript/

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 ,
Sep 24, 2021 Sep 24, 2021

Copy link to clipboard

Copied

Amazing, thank you! I did want to specify my RGB values, but didn't have time at that moment to look into it. Your link will be very helpful in future 🙂

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
Guest
Jun 23, 2022 Jun 23, 2022

Copy link to clipboard

Copied

Where do you enter this code?

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 ,
Aug 23, 2023 Aug 23, 2023

Copy link to clipboard

Copied

Go to "All Tools", then Select "Use Java Script". 

Go to Document Javascript Strings and paste the above, changing the color from "red" to whatever you want it to be.

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
Explorer ,
Oct 01, 2022 Oct 01, 2022

Copy link to clipboard

Copied

I have figured out an easier way, that does not involve code.  Open the document, go to the comments tab.  Select all redactions (you can do this by clicking the top one and then Shift clicking the bottom one on the list.).  Then right click the selected comments and choose properties.  This will open the window that allows you to change the color of all the redactions.

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 ,
Jun 21, 2024 Jun 21, 2024

Copy link to clipboard

Copied

LATEST

Thank you!  So much easier than messing around with any coding.  Also your method allows me to change the color of individual redactions if I want to, rather than just a blanket color change.

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