well, another one :) I will probably become very frequent discusser here: I love the tool and don't have any idea how to use it
What about controling text colors? (for paragraphs or single characters)
I tried to modify the random colors script (as it is very simple and even I understand how it works):
var sel = activeDocument.getMatchingItems(Art, { selected: true });
for (var i = 0; i < sel.length; i++) {
art = sel[i];
var mycolor = new RGBColor(Math.random(), Math.random(), Math.random(), Math.random());
if (art.paragraphStyle.fill.color != null) art.paragraphStyle.fill.color = mycolor;
}
I replaced "Path" with "Art", so it should work for any selected objects. And then it was over. I think I understand I have to add to a text object a different description then to a path. But which is the right one? Or does it work at all in this way?
Thanks..