Is there a way to delete only color swatches while excluding pattern and gradient swatches? For example this code snippet does not work:
tell application "Adobe Illustrator"
activate
delete (every swatch of current document whose class of color is not pattern color info and every swatch of current document whose class of color is not gradient color info)
end tell
Why do I get the feeling my syntax is wrong
Thanks in advance,
Jeff