Re: Pantone Colours in Xpress 4.11
Re: Pantone Colours in Xpress 4.11
- Subject: Re: Pantone Colours in Xpress 4.11
- From: Hans Haesler <email@hidden>
- Date: Fri, 26 Apr 2002 12:58:33 +0200
On Fri, 26 Apr 2002, email@hidden wrote:
>
Sorry, I wan't clear enough.
>
>
I've created a script that contains the line
>
>
make color spec at beginning with properties {long name:"Pantone 485 CV",
>
color type: pantone type, seperation: false}
>
>
This creates a colour called "Pantone 485 CV" that corresponds to Process
>
Yellow.
Steve,
that's a problem with QuarkXPress:
By setting the color type to Pantone, the CMYK values are modified
to the ones of "Process Yellow" = {0, 0, 65535, 0}.
You can't make "pure" Pantone colors. You can't set the Model and --
worse -- you can't set the screen angle.
Please try this script. Just type the number (without "CV"):
---
tell application "QuarkXPress 4.11"
activate
repeat
set shortName to text returned of (display dialog "Enter the number of the PANTONE. Coated
color spec to create:" default answer "123")
try
set colorProps to properties of color spec shortName of color system 1
exit repeat
on error
display dialog "The color spec " & shortName & " doesn't exist."
end try
end repeat
set longName to long name of colorProps
set CMYKval to CMYK color value of colorProps
tell document 1
set colorList to (name of every color spec)
if longName is not in colorList then
make color spec at end with properties {name:longName, CMYK color value:CMYKval, separation:false}
else
display dialog longName & "
" & "this color spec exists already." buttons "OK" default button 1 with icon 0
end if
end tell
end tell
---
This works, even with names like "Rubine Red".
I have written a script which allows you to select one of the four Pantone
models and then choose from a list the color which you'd like to create.
If you're interested then drop me a line.
---
Hans Haesler <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.