• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Determine whether spot color is RGB or CMYK in Illustrator CS2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Determine whether spot color is RGB or CMYK in Illustrator CS2
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: How to compare contents of a folder against a list?
  • Next by Date: Re: Puzzling Error Again
  • Previous by thread: Puzzling Error Explained
  • Next by thread: Re: Determine whether spot color is RGB or CMYK in Illustrator CS2
  • Index(es):
    • Date
    • Thread