Re: Quark 6 Text Boxes Name Errors
Re: Quark 6 Text Boxes Name Errors
- Subject: Re: Quark 6 Text Boxes Name Errors
- From: Hans Haesler <email@hidden>
- Date: Tue, 23 Mar 2004 17:54:47 +0100
On Fri, 19 Mar 2004, Jason Bourque wrote:
>
I have a 40 page document and this script that goes through and gets each
>
text box name. Well some boxes it errors out on. And the error is not
>
always on the same box. Any advise?
Here is what I've found:
The script posted by Jason runs fine until page 8, where an
error is generated. The message says (translated from French):
"Can't get name of text box 49 of page 8 of document 1".
The reason: in a facing-pages layout, when counting the boxes
of a left-hand page, XPress 6 returns a result which includes
objects of the right-hand page of the same spread when these
are grouped with a box of the left-hand page.
To be exact, the boxes don't have to be grouped. When they
are simply selected, there is the same problem.
Counted by script, page 8 has 84 text boxes. But there are
only 48 text boxes on page 8. The other 36 text boxes are on
page 9 and _grouped_ with objects on page 8.
Needless to say that the 36 boxes are not in the result
when asking for the count of boxes of page 9...
Workaround 1: avoid groups which span two or more pages.
Workaround 2: address the spread.
---
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.