Question
Change color of a particular item in the doc
Hi everyone,
I'm trying to write a script that changes a swatch color of item 3 on page 1 only, but no luck. I'm getting this error "Object does not support hte property or method 'swatches'." Here's the code:
var doc= app.activeDocument;
var doc = doc.pages[0].pageItems.item(3).swatches.item("Turquoise RGB").remove("Purple RGB");
Can anyone help me?
Thanks,
Rogerio
