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

Re: UnGrouping of boxes


  • Subject: Re: UnGrouping of boxes
  • From: Hans Haesler <email@hidden>
  • Date: Thu, 10 May 2001 22:19:15 +0200

On Thu, 10 May 2001, Michael Turner wrote:

>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.

Hey Michael,

here is the first part of the answer. Please look at the _hierarchy_.
Use more nested tells, then you address the correct objects:
---
tell document 1 of application "QuarkXPress 4.11"
activate
set tool mode to drag mode
tell current spread
repeat with i from 1 to (count picture boxes)
tell picture box i
try
set selected to true
on error
end try
end tell
end repeat
end tell
end tell
---

I don't use "Menu Events" anymore, but I could install it, temporarily,
to help you, if the second half of your script won't work.


>set tool mode to content mode
>-- should reset tool, this line untested.

This should be: 'set tool mode to contents mode' and must be inside
of the 'tell document 1' block.


Best regards,

Hans

---
Hans Haesler | email@hidden


  • Follow-Ups:
    • Re: UnGrouping of boxes
      • From: Michael Turner <email@hidden>
  • Prev by Date: Re: CMYK in QuarkXpress
  • Next by Date: Re: Current date notation
  • Previous by thread: Creating a folder hierarchy from variables.
  • Next by thread: Re: UnGrouping of boxes
  • Index(es):
    • Date
    • Thread