finding in script

Wilhelm Sanke sanke at hrz.uni-kassel.de
Mon Jan 3 16:16:10 EST 2005


On Mon Jan 3, 2005, Jeanne A. E. DeVoto revolution at jaedworks.com 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 jaedworks.com
> http://www.jaedworks.com



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
<http://www.sanke.org/MetaMedia>




More information about the Use-livecode mailing list