Re: QXP: ungrouping ?
Re: QXP: ungrouping ?
- Subject: Re: QXP: ungrouping ?
- From: "Jeff Meek" <email@hidden>
- Date: Fri, 9 Nov 2001 10:16:21 -0600
- Thread-topic: Re: QXP: ungrouping ?
On Wed, 7 Nov 2001, Hans Haesler wrote:
>
Yes, it is. Use a 'select menu item' command:
>
---
>
tell application "QuarkXPress 4.11"
>
activate
>
select menu item 11 of menu 5
>
end tell
>
---
On a related note.
I have a Quark document with 4 boxes on it. I want to group the first 2
boxes then the last 2 boxes. When I run the script below, it only groups
the first 2. notice where the "activate" is.
tell application "QuarkXPress(tm)"
tell document 1
set tool mode to drag mode
select generic box 1
select generic box 2
end tell
activate--notice where this is
select menu item "Group" of menu "Item"
set selection to null
tell document 1
select generic box 3
select generic box 4
end tell
select menu item "Group" of menu "Item"
end tell
If I move the "activate" command right before the 2nd "Select menu...",
it groups the last 2 boxes, but obviously doesn't group the first 2. If
I put the "activate" right after the "Tell App..." it doesn't group
either. I am using a G3 PB 500, Quark 4.1, and OS 9.2.
Any suggestions??
Jeff