• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Xpress 4.1 and group box type
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xpress 4.1 and group box type


  • Subject: Re: Xpress 4.1 and group box type
  • From: David Lloyd <email@hidden>
  • Date: Fri, 19 Jan 2001 22:41:33 +1100

An QuarkXPressAppleScripter asked about grouping object in QuarkXPress, and
got this reply:

tell application "QuarkXPress 4.11"
activate
tell document 1
set tool mode to drag mode
tell page 1
set selected of every generic box to true
set objRef to object reference of every generic box whose
selected is true
end tell
end tell
set selection to item 1 of objRef
end tell

Which worked well (and new to me), but theres another solution which allows
for ungrouping objects too:

tell application "QuarkXPress 4.11"
activate
tell document 1 to set tool mode to drag mode
select menu item "Select All" of menu "Edit"
do updates
select menu item "Ungroup" of menu "Item"
end tell

To ungroup things, edit the select menu item "Ungroup" line.

The select menu does seem underused by QuarkXPressAppleScripters...

David L


  • Follow-Ups:
    • Re: Xpress 4.1 and group box type
      • From: Hans Haesler <email@hidden>
  • Prev by Date: More Faceless apps
  • Next by Date: Re: "error -241" and great weirdness on PBook after new script app
  • Previous by thread: Re: Xpress 4.1 and group box type
  • Next by thread: Re: Xpress 4.1 and group box type
  • Index(es):
    • Date
    • Thread