command "group" fails when objectList is a string

Nonsanity form at nonsanity.com
Tue Jul 5 12:59:02 EDT 2011


Might want to put a select empty at the top too, or the end group might be a
bit bigger than you think. (Or better yet, save off the current
selection(s), and restore them afterwards. Bonus points.)

 ~ Chris Innanen
 ~ Nonsanity


On Sat, Jul 2, 2011 at 8:04 PM, Klaus on-rev <klaus at major.on-rev.com> wrote:

> Hi Nicolas,
>
> try this:
> ...
> repeat for each item i in "342201, 342129, 342165"
> ## or use the name or whatever
>  set the selected of grp ID i to true
> end repeat
> group
> select empty
> ## Now you can do what you want with "last grp"
> ...
> :-)
>
> > Thanks.
> >
> > --
> > Nicolas Cueto
>
> Best
>
> Klaus
>
> --
> Klaus Major
> http://www.major-k.de
> klaus at major.on-rev.com
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list