Re:Scripting QuarkXPress Passport 4.11
Re:Scripting QuarkXPress Passport 4.11
- Subject: Re:Scripting QuarkXPress Passport 4.11
- From: Hans Haesler <email@hidden>
- Date: Fri, 27 Jul 2001 08:31:17 +0200
On Fri, 27 Jul 2001, David Lloyd wrote:
>
The fix was subtle, it became...
>
>
copy (name of color specs whose CMYK color value = {65535, 0, 0, 0}
>
and locked is true) as string to fillColorName.
Here I'm using ...
---
set blackColor to name of every color spec whose RGB color value = {0, 0, 0} and locked = true
---
... but in former versions I did set the variable to the name which
could be expected ("Noir" for a script which would be used in Lausanne
and "Schwarz" in a translated script to be used in Zurich). Then, to
make sure, the script tested if this color spec was existing. If not,
it looped through the specs until the right one was found.
Cheers,
Hans
---
Hans Haesler <email@hidden>