Skip to main content
Inspiring
December 10, 2008
Question

[AS] get a list of the used swatch colours in a document

  • December 10, 2008
  • 12 replies
  • 1673 views
You're not going to get anything else approaching the simplicity of those<br />two lines. What do you mean by a "50% result"?<br /><br /><br />-- <br />Shane Stanley <sstanley@myriad-com.com.au><br />AppleScript Pro Florida, April 2009 <a href=http://scriptingmatters.com/aspro>
This topic has been closed for replies.

12 replies

Inspiring
December 10, 2008
You'll have to loop through your list, building a new list that doesn't<br />include those that math the list of ones you want to exclude.<br /><br />-- <br />Shane Stanley <sstanley@myriad-com.com.au><br />AppleScript Pro Florida, April 2009 <a href=http://scriptingmatters.com/aspro>
Inspiring
December 10, 2008
I mean im getting half the result that I am looking for,in that the code returns all the colours remaining in the swathes pallete and I am uncertain as to how to achieve as mentioned

"I am trying to find out how to get a list of the used swatch colours in a document, not including, "None", "Registration", "Paper", and "Black" (black only if it is not used, if used then add to used list)."

Kev