Hi there!
I would like to change all the red highlights into blue hightlights....
Is it possible to do it through the comments menu, grouping by colour and then changing them with a "change group comment properties"? is there anything like that?
Thanks
Ricaz
Comments menu: possible to modify comments as a whole group?
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
Ricaz
- User
- Posts: 22
- Joined: Sun Oct 30, 2011 11:18 am
-
Stefan - PDF-XChange
- Site Admin
- Posts: 19930
- Joined: Mon Jan 12, 2009 8:07 am
Re: Comments menu: possible to modify comments as a whole gr
Hello Ricaz,
I am afraid that there isn't such an option currently directly through the menus.
The only "mass" change you could do through the comments pane is to group comments by a given criteria and then remove them all.
What you could do is execute the following JS code (open the console with Ctrl-J):This will change the colour of all blue highlights to red.
I am afraid that there isn't such an option currently directly through the menus.
The only "mass" change you could do through the comments pane is to group comments by a given criteria and then remove them all.
What you could do is execute the following JS code (open the console with Ctrl-J):
Code: Select all
var annots = this.getAnnots();
for (var i = 0; i < annots.length; i++)
{
if (annots[i].type == "Highlight" && color.equal(annots[i].strokeColor,["RGB",0,0,1]) )
{
annots[i].strokeColor = color.red;
}
}-
Ricaz
- User
- Posts: 22
- Joined: Sun Oct 30, 2011 11:18 am
Re: Comments menu: possible to modify comments as a whole gr
Dear Stefan,
the solution through the java console is wonderful... thank you very much!
I did not know there was anything like that (the java console, I mean)... sounds like I'll need to explore the wonderful world of Java, then... I'll definitely never finish the phd... I don't know whether to love or hate you Tracker Guys!!!
Could you tell me if there is any "glossary" of commands which gives the "names" of the different tools (highline, line, rectangle) and colours (you used "red" and "blue" in your example, but if I had to change the "light orange" into "sea green"?). is there any list of these commands?
thank you again!
the solution through the java console is wonderful... thank you very much!
I did not know there was anything like that (the java console, I mean)... sounds like I'll need to explore the wonderful world of Java, then... I'll definitely never finish the phd... I don't know whether to love or hate you Tracker Guys!!!
Could you tell me if there is any "glossary" of commands which gives the "names" of the different tools (highline, line, rectangle) and colours (you used "red" and "blue" in your example, but if I had to change the "light orange" into "sea green"?). is there any list of these commands?
thank you again!
-
Stefan - PDF-XChange
- Site Admin
- Posts: 19930
- Joined: Mon Jan 12, 2009 8:07 am
Re: Comments menu: possible to modify comments as a whole gr
Hello Ricaz,

I'm sure you will love the "list" of such commands as well - all 769 pages of it
JavaScript for Acrobat API Reference.
The Color Arrays are explained on page 193 - so you could start with that section.
Best,
Stefan
I don't know whether to love or hate you Tracker Guys!!!
I'm sure you will love the "list" of such commands as well - all 769 pages of it
JavaScript for Acrobat API Reference.
The Color Arrays are explained on page 193 - so you could start with that section.
Best,
Stefan
-
Ricaz
- User
- Posts: 22
- Joined: Sun Oct 30, 2011 11:18 am
Re: Comments menu: possible to modify comments as a whole gr
all these pages? now I know.. I definitely hate you!
thanks very much... by the way, is there any Reformed Tracker Church? I would like to join...
thanks very much... by the way, is there any Reformed Tracker Church? I would like to join...
-
Stefan - PDF-XChange
- Site Admin
- Posts: 19930
- Joined: Mon Jan 12, 2009 8:07 am
Re: Comments menu: possible to modify comments as a whole gr
Hello Ricaz,

And you can become a member here:

https://www.pdf-xchange.com/buy-now
Cheers,
Stefan
Yes there isis there any Reformed Tracker Church?
And you can become a member here:
https://www.pdf-xchange.com/buy-now
Cheers,
Stefan
-
Ricaz
- User
- Posts: 22
- Joined: Sun Oct 30, 2011 11:18 am
Re: Comments menu: possible to modify comments as a whole gr
Oh, that's a very nice thing, that there is a Tracker Church!
I take advantage of this nice exchange of posts to ask you a cheeky (and probably silly as usual) question... if I get a PRO packet, and a certain point I want to TRANSFER it to another computer (used by my wife), that is possible, isn't it? of course deleting it from my laptop, where I plan to install it in the first place...
Thanks!
Riccardo
I take advantage of this nice exchange of posts to ask you a cheeky (and probably silly as usual) question... if I get a PRO packet, and a certain point I want to TRANSFER it to another computer (used by my wife), that is possible, isn't it? of course deleting it from my laptop, where I plan to install it in the first place...
Thanks!
Riccardo
-
Paul - PDF-XChange
- Site Admin
- Posts: 7445
- Joined: Wed Mar 25, 2009 10:37 pm
Re: Comments menu: possible to modify comments as a whole gr
Hi Ricaz,
if the license is a 'Single User' license then yes you may do that - as long as you both are not using the software. Because we license per user we would expect each user to hold a license. The other side to that coin is that we allow a single user to install the software on a workstation and a second machine like a laptop - so long as there is only the one 'common' user.
Does that clear this up?
if the license is a 'Single User' license then yes you may do that - as long as you both are not using the software. Because we license per user we would expect each user to hold a license. The other side to that coin is that we allow a single user to install the software on a workstation and a second machine like a laptop - so long as there is only the one 'common' user.
Does that clear this up?
Best regards
Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com