Re: Quark grouped items
Re: Quark grouped items
- Subject: Re: Quark grouped items
- From: Hans Haesler <email@hidden>
- Date: Tue, 5 Jun 2001 21:49:44 +0200
On Tue, 05 Jun 2001, John Nestor wrote:
>
(...) My problem is that one of the items named was not a graphic/text box,
>
but a grouped item, which Quark considers a type of generic box.
John,
you've asked for "a smack in the head". Here it comes ;-):
While it's true that you can name a group of boxes -- grouped or not --
this name would be of no use: you can't address the group by this name.
The only solution I see is to name each member of the group with the
same name, e.g. "group_1". Then you can select them by script, address
the group as 'current box' and get the 'bounds':
---
tell document 1 of application "QuarkXPress 4.11"
activate
set tool mode to drag mode
set selected of every generic box whose name is "group_1" to true
tell current box
set {y1, x1, y2, x2} to bounds as list
end tell
end tell
---
Regards,
Hans
---
Hans Haesler | email@hidden