Group/Ungroup by script
pete at mollysrevenge.com
Thu Feb 17 21:46:41 EST 2011
I'm not doing it just once, sorry if it came across that way. I need to do it as part of a special tools palette I'm working on.
-------------- next part --------------
On Feb 17, 2011, at 6:39 PM, Joe Lewis Wilkins wrote:
> Hi Peter,
> Looks like you're doing this from the message box? How come you're not just doing it manually, since you're only doing it one time?
> Joe Lewis Wilkins
> Architect & Director of Product Development for GSI
> On Feb 17, 2011, at 5:59 PM, Peter Haworth wrote:
>> I have a need to add a specific control to an existing group. The following works but I'm curious if there's a better/easier way?
>> select group "Test"
>> put "group " into mycommand
>> repeat for each line myId in the selectedObjects
>> put myID && "AND " after mycommand
>> end repeat
>> put the long ID of button "Button" after myCommand
>> do myCommand
>> Pete Haworth
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the Use-livecode