Re: Determine whether spot color is RGB or CMYK in Illustrator CS2
Re: Determine whether spot color is RGB or CMYK in Illustrator CS2
- Subject: Re: Determine whether spot color is RGB or CMYK in Illustrator CS2
- From: Shane Stanley <email@hidden>
- Date: Thu, 10 May 2007 09:39:58 +1000
- Thread-topic: Determine whether spot color is RGB or CMYK in Illustrator CS2
And to answer you're actual question, try this:
tell swatch -1
if class of color is spot color info then
-- need to get class of the spot it's based on
set colorType to class of color of spot of color
else
set colorType to class of color
end if
end tell
--
Shane Stanley <email@hidden>
AppleScript Pro Denver, June 2007 <http://scriptingmatters.com/aspro>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden