I am attempting a script that will delete everything that is not using swatch A from a document,
My plan is to loop through all the document page items to weed out which ones have not used the swatch as a fill or a stroke etc.
The files will include art and text that will use swatch A amongst other swatches and cmyk colors.
Is there a better way to go about this?
Any ideas/tips will be greatly appreciated.
Hmmm -- to be totally confident not any item inside a given frame uses your color needs a lot of checks.
Check this quite similar request:
My comment was that to be sure you'd need to check, amongst others, every single character for either fill or stroke, table strokes and fills, paragraph rules, underline and strikeout ...