How to return the index of a specified swatch name?
Is it possible without a loop to know the index of a specified swatch name?
I tried something like this but it the number returned doesn't make any sense:
var mySwatches = app.activeDocument.swatches;
alert(mySwatches.item("Blue").index);
