Skip to main content
stuartf66163307
Participant
January 27, 2017
Question

Can I change the color of all existing comments by a particular reviewer?

  • January 27, 2017
  • 1 reply
  • 9673 views

I have a document with comments from two reviewers. Both had chosen red as the color for their comments, making it difficult to work through the document while separating which comments are from which reviewer. I would like to batch change all the comments from one of the reviewers to a different color. Is there a way to do this?

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
January 27, 2017

Yes, you can. Go to the Comments List and use the Filter option to only

show the comments by one reviewer. Then select them all, right-click one of

them and select Properties. Change the color and it will be applied to all

of them. Then remove the filter.

On Fri, Jan 27, 2017 at 6:59 PM, stuartf66163307 <forums_noreply@adobe.com>

stuartf66163307
Participant
January 28, 2017

Try67: This almost works (although Acrobat really struggles with doing this for 500 comments). The way I did it was to select all the comments in the comment list, then right-click on one of the comments there, then change the color. This changed the color of the frames of the text, but not the text itself. I can't see how to change the text color because I can't get the text properties box without actually selecting the text in a comment, which seems impossible when more than one comment is selected. Any ideas?

try67
Community Expert
Community Expert
January 28, 2017

In that case it should be possible to do it with a script, but it's a bit tricky. You can try this code I've written. Just adjust the name of the reviewer in line #5 and the color you want to use in line #8:

this.syncAnnotScan();

var annots = this.getAnnots();

if (annots!=null && annots.length!=0) {

    for (var i in annots) {

        if (annots.author=="John Doe" && annots.type=="FreeText") {

            var annotContents = annots.richContents;

            for (var j in annotContents) {

                annotContents.textColor = color.red;

            }

            annots.richContents = annotContents;

        }

    }

}