Re: Illustrator Overprint Selection
Re: Illustrator Overprint Selection
- Subject: Re: Illustrator Overprint Selection
- From: Andy Bachorski <email@hidden>
- Date: Tue, 18 Mar 2003 14:46:40 -0800
on Tue, 18 Mar 2003 10:49:38, Mark Settle <email@hidden> wrote:
>
Illustrator 10 has an annoying habit of allowing white (i.e. cmyk 0,0,0,0)
>
to overprint. We9ve run into issues with clients supplying files with items
>
being coloured up this way and I want to write a script to select them all
>
and turn the overprint off. I can select path items that are set to
>
overprint:
>
>
set selected of (every path item whose fill overprint is true) to true
>
>
...but I am struggling with selecting items of a fill colour c0 m0 y0 k0. I
>
thought this might work:
>
>
set fill overprint of (every path item whose fill color is {CMYK color
>
info:{c:0, m:0, y:0, k:0}}) to false
>
>
The syntax checks out but I get an error:
>
>
3Adobe Illustrator 10 got an error: Can't set fill overprint of every path
>
item of document 1 whose fill color = {CMYK color info:{c:0, m:0, y:0, k:0}}
>
to false.2
You need to use the full names of the color elements. Like this:
set fill overprint of every path item whose fill color is {cyan:0,
magenta:0, yellow:0, black:0} to false
Note that 'CMYK color info' is the class name for this type of color info
and is optional. If used it would be as another property of the record
passed to Illustrator, like this:
{class:CMYK color info, cyan:0, magenta:0, yellow:0, black:0}
andy b
_______________________________________________
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.