finding in script

Jeanne A. E. DeVoto revolution at jaedworks.com
Tue Jan 4 12:57:16 EST 2005


At 10:13 AM -0500 1/4/05, Frank D. Engel, Jr. wrote:
>So you use the groupIDs property on each card to find out which 
>groups are on each card, merge 'em all together and remove any 
>duplicates.

Yes, that would work fine if all groups were on a card! ;-) As 
Wilhelm points out, it's possible to  use a loop to generate the 
names of all the top-level groups (including unplaced groups) and 
work from there, but it's not elegant and it's not fast. The way the 
backgroundNames and backgroundIDs used to work - generating a list of 
all groups, rather than a subset - was far simpler for applications 
where you need to run through all controls, or display a list of 
groups.
-- 
jeanne a. e. devoto ~ revolution at jaedworks.com
http://www.jaedworks.com


More information about the use-livecode mailing list