Re: illus-trator
Re: illus-trator
- Subject: Re: illus-trator
- From: John McAdams <email@hidden>
- Date: Mon, 22 Apr 2002 22:28:51 -0400
Thanks again Shane. It does work. I started from scratch with a much
simpler Illustrator document, just a few colors and a few paths. Perhaps
I was just too impatient before, thousands of colors and dozens of
paths. On to finding out how to add only the spot colors I need.
On Monday, April 22, 2002, at 07:33 , applescript-users-
email@hidden wrote:
>
I tested the snippet before posting, yes, although not in OS X. But it
>
assumes you have a swatch for PANTONE 202 U in the document -- is that
>
the
>
case?
>
tell application "Adobe Illustrator 10"
>
tell document 1
>
set cPant to every spot whose name ends with "cv" or name
>
ends with "cvs" or name ends with "cvc"
>
set x to item 1 of cPant
>
set fill color of [nb space]
>
(every path item whose fill color is {class:spot color
>
info, spot:x, tint:100.0}) to [nb space]
>
{class:spot color info, spot:spot "PANTONE 647 U", tint:100}
>
end tell
>
end tell
jmc
--------------------
sanity level: moderate
--------------------
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.