Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Outcome is incorrect of grouped "group boxes"



Title: Re: Outcome is incorrect of grouped "group boxes"
Hi hans, maybe this is a bit more clear what I want...

tell application "QuarkXPress Passport"
   get every picture box of document 1 whose selected = true
       {picture box 39 of document "GF1F07-256_95", picture box 44 of document "GF1F07-256_95", picture box 46 of document "GF1F07-256_95"}
end tell


How can I “grab” those 3 boxes apart?

The next step would be
Tell picture box 39
--do this
End tell

Tell picture box 44
--do this
End tell

Tell picture box 46
--do this
End tell

Many thanks
jan


> From: Hans Haesler <email@hidden>
> Date: Tue, 2 Jan 2007 11:38:38 +0100
> To: <email@hidden>
> Subject: Re: Outcome is incorrect of grouped "group boxes"
>
> On Tue, 02 Jan 2007, Jan Bultereys wrote:
>
>> (...) Left gives me 3 picture boxes, right gives
>> me 1 picture box, which doesn't make sense...
>
> Jan,
>
> sorry, I've had constructed my groups in another way.
> And I've made the approach via selection/entire group.
> This combination led me to a "solution" which doesn't
> gives a correct result for every construct.
>
> This script should work:
> ---
> tell document 1 of application "QuarkXPress Passport"
>   set nPicBox to count (every picture box whose selected is true)
> end tell
> ---
>
> Regards,
> Hans
>
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/applescript-users/jan.bultereys%40offic
> 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:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden

References: 
 >Re: Outcome is incorrect of grouped "group boxes" (From: Hans Haesler <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.