Re: Change CMYK to spot color in Illustrator?
Re: Change CMYK to spot color in Illustrator?
- Subject: Re: Change CMYK to spot color in Illustrator?
- From: Shane Stanley <email@hidden>
- Date: Thu, 18 Jul 2002 10:07:04 +1000
On 17/7/02 6:15 AM +1000, john mead, email@hidden, wrote:
>
I'm trying to set an Illustrator page item's fill
>
color from CMYK to a spot color and I can't get the
>
syntax correct. This is what I've got so far:
>
>
tell application "Adobe Illustrator 10"
>
activate
>
set myLayer to current layer of current document
>
repeat with j from (number of page items in myLayer)
>
to 1 by -1
>
set myColor to (fill color of properties of page
>
item j of myLayer)
>
if (myColor as text) contains "CMYK" then
>
--change the fill color of ths item to a spot color
>
end if
>
end repeat
>
end tell
Try playing with something like this:
every page item of myLayer whose class of fill color is CMYK color info
--
Shane Stanley, email@hidden
_______________________________________________
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.