I am having difficulty assigning a swatch that is a Spot Color. When I define the swatch, it comes back as valid but the color value returns as Null. If I make the color no longer a Global color it then assigns the color correctly. Is there a way to access Global Swatches and assign them? I figure making the swatch into a Global Color puts it into another shell and I just need to know how to target the information.
I have troubling understanding what you mean but maybe i know a work around outside scriptographer.
Once scriptographer assigned all colors to the objects you have or whatever you do, select the global color, then go to 'select > same > fill & stroke' to select all objects that have that global color and now replace it with the spot colour.
Hope this helps, atleast i tried...
Pretty much if you have a swatch selected as a "Global" color swatch, whenever you do Swatch.Color it returns a null value and not the color. I am creating artwork and assigning a color to the new object, but I need the colors to be spot colors for the printing process and spot color swatches are always "Global" swatches. I just don;t know how to access the color information inside the global swatch.