• 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
QuarkXPress: UnGrouping of boxes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

QuarkXPress: UnGrouping of boxes


  • Subject: QuarkXPress: UnGrouping of boxes
  • From: Michael Turner <email@hidden>
  • Date: Thu, 10 May 2001 10:41:27 -0400

Hey Hans, et al!

I am getting frustrated. I keep getting stuck at 'easy'.

I want to run though a document and ungroup all the pictures. I can't make
the sample below work. Why not? It has something to do with selections, I
think.

tell application "QuarkXPress<TM> 4.1"
activate
set tool mode of document 1 to drag mode
repeat with i from 1 to (number of picture boxes of current spread)
tell picture box i
try
set selected to true
-- always errors here, and responds "Huh"
-- but "selection" doesn't work either.
display dialog "Alright."
set menuInfo to Query Menu menu title "Item"
if menu item enabled of item 11 of menuInfo is true then
Select Menu Item menu title "Item" menu item ID 11
--<<event ScrM~Grp>> -- same as above.
end if
on error
display dialog "Huh."
end try
end tell
end repeat
set tool mode to content mode
-- should reset tool, this line untested.
end tell


  • Prev by Date: Re: Writing large scripts
  • Next by Date: CMYK in QuarkXpress
  • Previous by thread: Re: Move and rename file
  • Next by thread: CMYK in QuarkXpress
  • Index(es):
    • Date
    • Thread