Group/Ungroup by script
Peter Haworth
pete at mollysrevenge.com
Fri Feb 18 01:14:03 EST 2011
Got it, thanks. Interestingly, the group command seems to allow you to create a group with only 1 control in it, whereas the IDE doesn't.
Pete Haworth
-------------- next part --------------
http://www.mollysrevenge.com
http://www.sonicbids.com/MollysRevenge
http://www.myspace.com/mollysrevengeband
On Feb 17, 2011, at 8:28 PM, J. Landman Gay wrote:
> 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
>
> _______________________________________________
> 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