Re: Illustrator CS, make new spot
Re: Illustrator CS, make new spot
- Subject: Re: Illustrator CS, make new spot
- From: Courtney Schwartz <email@hidden>
- Date: Thu, 11 Nov 2004 16:40:36 -0500
Yes, weirdness confirmed. Spot does not make a spot color, but a
process color.
Can you change the type from process to spot once the swatch is made?
Courtney Schwartz
On Nov 11, 2004, at 4:18 PM, Jake Pietrykowski wrote:
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:
email@hidden
This email sent to email@hidden
_______________________
Courtney Schwartz
Documentation Specialist
Global Technology Associates
3505 Lake Lynda Dr. Suite 109
Orlando, FL 32817 USA
(407) 380-0220 x1427
_______________________________________________
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