THere was a discussion around here smoewhere about groups not working correctly with the "last" keyword.
However, I think if you change your method, and instead "select" the list if items, then issue a group command, the group will still be selected and you can then "set the name of the selobj to "_scroller" and then select empty On Fri, Apr 19, 2013 at 4:34 PM, Michael Doub <miked...@gmail.com> wrote: > I just got that method to work but it does not seem to remember the last > group. > > do theGroupList > set the name of the last group to "_scroller" > > Does not change the groups name. :-( > > -= Mike > > > > On Apr 19, 2013, at 6:22 PM, Paul Hibbert <l...@pbh.on-rev.com> wrote: > > > Mike, > > > > The dictionary states… > > > > Parameters: > > The objectList is a list of object references, separated by the word > "and". > > > > I'm not saying it's the correct way, but if you need to build the group > command via script, this does work… > > > > put "group" && the name of button "a" && "and" && the name of button > "b" into xx > > do xx > > > > HTH > > > > Paul > > > > > > On 2013-04-19, at 3:04 PM, Michael Doub wrote: > > > >> I feel a bit foolish asking this but I can not figure out the syntax > for the group command. > >> > >> I am trying to clone a bunch of objects, align them property and then > group them so I can build a scrolling group. > >> > >> group button "a" and button "b" -- works fine > >> > >> put the name of button "a" && return && the name of button "b"into xx > >> group xx --- does not work > >> > >> the dictionary says group [objectList] > >> > >> what is the syntax for an objectList? > >> > >> -= Mike > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode@lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode