finding in script

Wilhelm Sanke sanke at
Mon Jan 3 16:16:10 EST 2005

On Mon Jan 3, 2005, Jeanne A. E. DeVoto revolution at wrote:

> (snip)
> The real problem here is that you can't get a list of all the groups
> in a stack any more since backgroundBehavior was introduced. But
> that's a rant for another day....
> -- 
> jeanne a. e. devoto ~ revolution at

This is correct in so far as with the help of "backgroundnames" and 
"backgroundIDs" only those primary (i.e. unnested) backgrounds will be 
listed whose backgroundbehavior is set to true.

However "the number of backgrounds" does not distinguish between 
backgrounds with true or false backgroundbehavior.

And - if you wish to list *all* existing backgrounds - nested or not, 
placed on a card or unplaced, backgroundbehavior true or not - you can 
script this using a counter variable.

--Wilhelm Sanke

More information about the Use-livecode mailing list