Copy link to clipboard
Copied
Hi!
I have a PDF with 40 + comments. I would like to batch edit properties (Author to be exact) on the selected comments, not on all of them. I did found a very useful post on how to batch edit comment properties on all comments but not on the selection. Is this possible at all?
I don't have any experience with JS Console but I'm willing to learn.
Thank you in advance!
You can do it using this code, executed from the JS Console:
var selAnnots = this.selectedAnnots;
if (selAnnots!=null) {
for (var i in selAnnots) {
selAnnots[i].author = "John";
}
}
Copy link to clipboard
Copied
You can do it using this code, executed from the JS Console:
var selAnnots = this.selectedAnnots;
if (selAnnots!=null) {
for (var i in selAnnots) {
selAnnots[i].author = "John";
}
}
Copy link to clipboard
Copied
Tried it. Works like magic. Tnx a million times!