Illustrator Scripting: create a Color Group + create / add swatches from selection
Scripters!
I wonder if it is possible to create a Color Group and create / add Swatches from all colors of a Selection to it (by Script)?!
I know it can be done by creating an Action then calling it by Script but I would like do do this task using a Script only.
Any ideas? Anyone?
Nils
PS. as always: JavaScript solutions only!

