I need to read color values for swatches. I got this in OMV and was hoping it would give me an array of the color values for all existing swatches, but I am only getting "Object color":
mySwatches = myDoc.swatches.getElements();
Thank you for your help.
var mD = app.activeDocument, // document mS = mD.swatches, // document swatches gS = 4, // swatch index mC = [mS[gS].name, mS[gS].colorValue, mS[gS].space]; // swatch properties alert(mC.join("\r"));
Hope that helps.
Got it. Works great.