Re:Scripting QuarkXPress Passport 4.11
Re:Scripting QuarkXPress Passport 4.11
- Subject: Re:Scripting QuarkXPress Passport 4.11
- From: David Lloyd <email@hidden>
- Date: Fri, 27 Jul 2001 07:17:02 +1000
(Frank Miedreich)
>
I am scripting XPress Passport 4.11, but I have not noticed any
>
differences in functionality. I do have to admit that many thing that
>
I would expect to work cause problems, but that may not be because of
>
version problems.
I did eventually isolate a part of the script that was causing problems...
(Perhaps you could verify this, Frank)
copy (name of color spec 1 whose CMYK color value = {65535, 0, 0, 0}
and locked is true) as string to fillColorName
(This line makes the script adaptable for foreign versions of QuarkXPress,
returning the name of colors for that language.)
QuarkXPress 4.11 and QuarkXPress Passport 4.1 worked,
but QuarkXPress Passport 4.11 did not.
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.
...and works with all versions of QuarkXPress.
Interestingly,
"name of color spec 1 whose RGB color value..."
worked for Passport 4.11, while
"name of color spec 1 whose CMYK color value"
didn't.
I wonder if there are other scripting anomolies unique to Passport 4.11?
David Lloyd
---------------------------------
email: email@hidden
web:
http://www.kanzu.com
---------------------------------