• 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
Re: Determine whether spot color is RGB or CMYK in Illustrator CS2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Determine whether spot color is RGB or CMYK in Illustrator CS2
      • From: "stephan peterson" <email@hidden>
References: 
 >Re: Determine whether spot color is RGB or CMYK in Illustrator CS2 (From: "stephan peterson" <email@hidden>)

  • Prev by Date: Re: Determine whether spot color is RGB or CMYK in Illustrator CS2
  • Next by Date: Re: Error of Type -10827 has occurred
  • Previous by thread: Re: Determine whether spot color is RGB or CMYK in Illustrator CS2
  • Next by thread: Re: Determine whether spot color is RGB or CMYK in Illustrator CS2
  • Index(es):
    • Date
    • Thread