Uniqueness of Group IDs

Mark Wieder mwieder at ahsoftware.net
Sat Jan 16 23:41:14 EST 2010


Len-

Saturday, January 16, 2010, 7:34:48 PM, you wrote:

> And to keep this line of questioning going, it seems I can't list the
> controls on a card, at least not by using:

> put the number of controls of card 1 of stack pStack into 
> theNumberOfControls

> I thought maybe I'd just "select" the card first, then put the number of
> controls into theNumberOfControls,
> but that gives me the error: Can't select an object that isn't open.  So
> it appears I can read the script of a card
> that isn't open but I can't select the card.

try

push card
go invisible card "whatever" of stack pStack
do your thang
pop card

...and yes, group ids are unique.

-- 
-Mark Wieder
 mwieder at ahsoftware.net




More information about the use-livecode mailing list