ObjectList as a variable won't go?
Klaus on-rev
klaus at major.on-rev.com
Mon Jun 21 14:52:27 EDT 2010
Hi all,
hm, looks like I missed the explanation why "DO" has to be involved?!
Anyway, I ususally do this:
on mouseUp
repeat with i = 1 to the number of groups of group "workarea"
set the SELECTED of grp i of grp "workarea" to TRUE
end repeat
end mouseUp
Et voila, all objects/groups selected.
> Michael,
>
> as Mark and Jim pointed out:
> try this
>
> --------------------
> on mouseUp
> put "" into tCollect
> repeat with i = 1 to the number of groups of group "workarea"
> put the long id of group i of group "workarea" & " and " after
> tCollect
> end repeat
> delete last word of tCollect
> lock screen
> do "select" && tCollect
> end mouseUp
> -----------------------
> and see if it works
> regards
> Bernd
Best
Klaus
--
Klaus Major
http://www.major-k.de
klaus at major.on-rev.com
More information about the use-livecode
mailing list