Get list of all objects on a card?
stephenREVOLUTION at barncard.com
Sun Mar 12 16:00:32 CST 2006
get the number of controls in <obj>
repeat with n = 1 to it
put the long name of control n of <obj> & return after tcontrolList
the long name is quite specific and has all the info you need.
this is not tested but you can get the idea. you can then filter the
object types by what's in the first part of each line.
>I'm trying to figure out how to get a list of all objects on a card,
>but have not been able to find anything in the docs related to this.
>I know how to get a list of cards in a stack with the "cardNames",
>but see no equivalent for objects on the card. :-(
>Does anyone know if there is a way accomplish this?
s a n f r a n c i s c o
- - - - - - - - - - - -
More information about the use-livecode