Group/Ungroup by script

J. Landman Gay jacque at hyperactivesw.com
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
group

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list