• 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
Illustrator CS, make new spot
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Illustrator CS, make new spot


  • Subject: Illustrator CS, make new spot
  • From: Jake Pietrykowski <email@hidden>
  • Date: Thu, 11 Nov 2004 15:18:59 -0600

Hi all,

I've beaten my head against the wall on this one. I've come to determine
that Illustrator CS can NOT create a new spot color via AppleScript. What I
get as a result, is a color swatch that is named correctly, but is set to a
process color. If I replace the class 'spot' with class 'swatch' in my
script, the only difference I notice is that the 'Global' color option is
selected when I use class 'spot' and when I use class 'swatch' I get a
process color, without the 'Global' check box selected (in Swatch Options).

<snip>
tell application "Illustrator CS"
    make new document

    -- make a new swatch
    set newSpot to make new spot at the beginning of current document ¬
    with properties ¬
    {name:"testspot", color:{cyan:20, magenta:0, yellow:50, black:0}}

    -- set variable to the new swatch
    set newSpot to spot of color of swatch "testspot" of current document

    -- draw a basic rectangle and fill it with the spot color
    set newRectangle to make new rectangle in current document with ¬
    properties {bounds:{0, 0, 50, 50}, stroked:false, ¬
    fill color:{class:spot color info, spot: newSpot, tint:100.0}}

end tell
<snip>

Can anyone verify this? Or has anyone found a method for successfully
creating NEW Spot Swatches in Adobe Illustrator CS (v11) using AppleScript?

Thanks,
Jake
--
Jake Pietrykowski
Pre-Press Department
Western States Envelope Company
email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Illustrator CS, make new spot
      • From: "Shane Stanley" <email@hidden>
    • Re: Illustrator CS, make new spot
      • From: Courtney Schwartz <email@hidden>
  • Prev by Date: Re: Exporting pdf to jpeg using preview
  • Next by Date: Re: Illustrator CS, make new spot
  • Previous by thread: RE: GUI Scripting and Acrobat 6 Pro
  • Next by thread: Re: Illustrator CS, make new spot
  • Index(es):
    • Date
    • Thread