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: Thu, 26 Jul 2001 10:50:24 +0200
On Thu, 26 Jul 2001, David Lloyd wrote:
>
Has anyone experienced scripting QuarkXPress Passport version 4.11?
That's my daily sorrow. ;-)
>
I have scripts which seem to be breaking with some users, and the common
>
factor with them is that they have Passport version 4.11.
Would these scripts be part of your brand new "XPress | Scripts 3.0 S"
package? I haven't taken the time, yet, to try them out.
>
I'm just wondering if there was any scripting differences with Passport
>
4.11.
A classic one: create a box, use a color. The script says "Black",
but in the document the color spec is named "Schwarz".
I recall having reported problems which none of the (North-American)
single-language version users could reproduce.
- A crash when showing the measurements palette at the end of the script.
- A crash when changing the contents of text boxes on a Master page.
I remember, too, a case where Shane explained a problem with defining
a style spec, getting a plus sign on the palette because there were
more than 20 tabs, then wiping out the tab stops from 21 upwards, using
option-clic. But this time -- with my Passport version -- I couldn't
reproduce it.
Then, again, it has been the other way round. This snippet from Shane
works for him, but here I get an error message:
---
tell application "QuarkXPress 4.11"
tell document 1
set x to object reference of (text box 1 whose selected is true)
end tell
end tell
---
Best regards,
Hans
---
Hans Haesler <email@hidden>