Script to pull pantone colors from a dataset and recolor selected areas
I am looking for a script that will pull information from a dataset and apply those colors to the necessary paths/compound paths. I am just starting to try an work with scripting so my knowledge level is low. Is there a way to have a path with a pre determined attribute note (ex. a) selected then to select same fill color and change those selected objects to the colors assigned to "a" in the dataset and do the same thing with a secondary color as well? As seen in the image, the blue block in the center would be "a" and the yellow would be "b" , then select same color fill would be executed from those two base points.
