Well after working on this for 8 hours and hitting the wall I posted it on here and I've already figured out 2 of my problems. I had to increase the increment on line 50 to read "docs.Swatches[i+2].com". My next big problem that I'm trying to figure out is how to stop it from making a swatch for every item if the swatch already exists for that given CMYK value. This way if I have a group of artwork that is one color but many objects that it dosn't make 30 swatches for one CMYK color.
↧