Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 87055

Re: Remove all unused color in Swatch

$
0
0

Hi Johnwhite,

 

Try this.

 

var doc = app.documents, i, j;
for(i =0;i<doc.length;i++)
{        unused = doc[i].unusedSwatches;        for(j=0;j<unused.length;j++)        {                unused[j].remove();            }    }

 

Regards,

Chinna


Viewing all articles
Browse latest Browse all 87055

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>