Determine whether spot color is RGB or CMYK in Illustrator CS2
Determine whether spot color is RGB or CMYK in Illustrator CS2
- Subject: Determine whether spot color is RGB or CMYK in Illustrator CS2
- From: "stephan peterson" <email@hidden>
- Date: Fri, 4 May 2007 15:46:44 -0500 (CDT)
- Importance: Normal
I'm trying to determine whether a spot color in an Illustrator document is
an RGB spot or CMYK spot. I've looked in the dictionary and scripting
guide and if it's there, I missed it.
Here's some code to get the properties of a swatch:
tell application "Adobe Illustrator CS2"
get properties of swatch 3 of current document
end tell
Here are the results:
{name:"Template", color:{class:spot color info, tint:100.0, spot:spot 1 of
document 1 of application "Adobe Illustrator CS2"}, container:document 1
of application "Adobe Illustrator CS2", best type:reference, default
type:reference, class:swatch, index:3}
As you can see it lets you know that it's a spot color, but not which
type. Any suggestoins?
Thanks!
Stephan
_______________________________________________
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