• 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: Outcome is incorrect of grouped "group boxes"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Outcome is incorrect of grouped "group boxes"


  • Subject: Re: Outcome is incorrect of grouped "group boxes"
  • From: Jan Bultereys <email@hidden>
  • Date: Wed, 03 Jan 2007 10:41:39 +0100
  • Thread-topic: Outcome is incorrect of grouped "group boxes"

Yes, I noticed the UniqueID 23 twice, is this a bug in the quark doc?

Many thanks,jan


> From: Peter Waibel <email@hidden>
> Date: Wed, 3 Jan 2007 10:36:50 +0100
> To: Apple's Applescript list <email@hidden>
> Subject: Re: Outcome is incorrect of grouped "group boxes"
>
>
>> the example I have attached
>> gives me 2 different outcomes... Left gives me 3 picture boxes,
>> right gives
>> me 1 picture box, which doesn't make sense...
>>
>> Let me know what you think
>
> Hi Jan,
>
> the document contains 6 nested group boxes.
> Just 'ungroup' the boxes and you can see the difference of the left
> an right group box.
>
> There is something very strange in the document.
> The document contains 2 picture boxes with the 'uniqueID' 23!
>
> The script below will give you an idea of how to walk thru nested
> groups.
>
> Peter
>
>
>
> set resultList to {}
> tell application "QuarkXPress"
> tell document 1
> set group_List to every group box
> repeat with aGroup in group_List
> tell aGroup
> set genericBox_List to every generic box
> set groupContent_List to {}
> repeat with aGenericBox in genericBox_List
> set end of groupContent_List to {uniqueID of aGenericBox, box
> type of aGenericBox}
> end repeat
> set end of resultList to {uniqueID, groupContent_List}
> end tell
> end repeat
> end tell
> end tell
> return resultList
>
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> edepot.com
> Archives: http://lists.apple.com/mailman//archives/applescript-users
>
> This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Outcome is incorrect of grouped "group boxes"
      • From: Peter Waibel <email@hidden>
References: 
 >Re: Outcome is incorrect of grouped "group boxes" (From: Peter Waibel <email@hidden>)

  • Prev by Date: Re: Outcome is incorrect of grouped "group boxes"
  • Next by Date: Re: AppleScript-Users Digest, Vol 4, Issue 2
  • Previous by thread: Re: Outcome is incorrect of grouped "group boxes"
  • Next by thread: Re: Outcome is incorrect of grouped "group boxes"
  • Index(es):
    • Date
    • Thread