Group/Ungroup by script

J. Landman Gay jacque at
Thu Feb 17 23:28:07 EST 2011

On 2/17/11 10:16 PM, Peter Haworth wrote:
> Thanks Jacqueline, I knew there would be an easier way!  Does that
> work if the group doesn't yet exist?  I know that wasn't in my
> original post but it is something I  need to account for.

I just knew there'd be a catch. :) You need an existing group to copy an 
object into. If you want to make a new group then you have to do what 
you did -- loop through the objects, adding them to the selection, and 
then group them.

select control 1 and control 2 and control 3

Jacqueline Landman Gay         |     jacque at
HyperActive Software           |

More information about the Use-livecode mailing list