XPress: color spec manipulation
XPress: color spec manipulation
- Subject: XPress: color spec manipulation
- From: Alan Legg <email@hidden>
- Date: Fri, 16 Feb 2001 18:26:37 +0000
Hi,
I have a script that converts all Pantone colours in a document to
CMYK and sets their separation to true. Originally when I first put
the script together I just looped through all the items of the
documents color spec checking to see which were Pantone colours, then
I got a little smarter and came up with the following:
set myList to object reference of (every color spec whose color type
= pantone type)
This gave me a much smaller list of colours that I could work with,
but I still loop through the list setting the color type and
separation.
I was hoping to do something along the lines of the following:
set separation of (every color spec whose color type = pantone type) to true
but I get the error Can't set separation of every color spec whose
color type = pantone type to true.
Is this possible? Can anyone point me in the right direction please?
Regards Alan.