Re:Scripting QuarkXPress Passport 4.11
Re:Scripting QuarkXPress Passport 4.11
- Subject: Re:Scripting QuarkXPress Passport 4.11
- From: Frank Miedreich <email@hidden>
- Date: Fri, 27 Jul 2001 04:00:58 +0200
Hi,
I can confirm this on my system.
Running Passport 4.11 in German on Mac OS 9.1 (German) the first
version fails, while the second does indeed work.
It is fun to be surprised by things like that in the middle of a big
catalog production that depends on applescript...
cheers, Frank
At 7:17 Uhr +1000 27.07.2001, David Lloyd wrote:
(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
---------------------------------
_______________________________________________
applescript-users mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/applescript-users
--