how define if (myCells.fillColor = "Black")
Hi experts,
my script like this:
var myDoc = app.activeDocument;
var myCells = myDoc.stories.everyItem().tables.everyItem().cells.everyItem();
if (myCells.fillColor = "Black") {
myCells.fillColor = "PANTONE 300 C"
}
aim to fine the cells if fillColor = "Black",
then change the fillColr = "PANTONE 300 C"
but not working,
could someone please show me how.
thanks
regard
John
