How do I Select all the items in a document based on SpotColor?
I'm trying to select every object with the color "CutContour"
So far I've been trying:
<pre>
myDoc.selection = myDoc.spots.getByName("CutContour");
</pre>
I guess this obviouslly wouldn't work though because myDoc.selection is looking for an array of objects.
However, I can't figure out how to loop through all the objects in the document and check to see if they contain the SpotColor.
Any help would be incredibly appreciated!
EDIT:
I want to use the Select > Same > Stroke Color , but I heard that using that in Javascript isn't available unless you have CS6 (which I currently don't). Is it true that accessing menu items through scripting is a feature in CS6?
