Re: Group command syntax

2013-04-19 Thread Michael Doub
Bingo, works like a champ. Thanks Mike, Peter and Paul. This list is fantastic. -= Mike On Apr 19, 2013, at 7:18 PM, Mike Bonner wrote: > Ok, my mistake. Change it to... (thought do could be avoided but > apparently not) > > do "select " & tVariablename > group > set the name of the selobj

Re: Group command syntax

2013-04-19 Thread Mike Bonner
Ok, my mistake. Change it to... (thought do could be avoided but apparently not) do "select " & tVariablename group set the name of the selobj to "_scroller" select empty >select theGroupList -- Line 101 >group the selobj >set the name of the selobj to "_scroller" >select emp

Re: Group command syntax

2013-04-19 Thread Michael Doub
I guess I don't know how to do the selection... searching the docs. ;-) On Apr 19, 2013, at 7:01 PM, Michael Doub wrote: > group id 1416 of card id 1007 of stack > "/Users/mike/Dropbox/PainTracking/PainTracking.livecode" and > group id 1419 of card id 1007 of stack > "/Users/mike/Dropbox

Re: Group command syntax

2013-04-19 Thread Michael Doub
group id 1416 of card id 1007 of stack "/Users/mike/Dropbox/PainTracking/PainTracking.livecode" and group id 1419 of card id 1007 of stack "/Users/mike/Dropbox/PainTracking/PainTracking.livecode" and group id 1422 of card id 1007 of stack "/Users/mike/Dropbox/PainTracking/PainTracking.liveco

Re: Group command syntax

2013-04-19 Thread Peter Haworth
Hi Michael, The object list is in the same format as your group command - objectref and objectref. So put the name of button "a" && "and" && the name of button "b"into xx Pete lcSQL Software On Fri, Apr 19, 2013 at 3:04 PM, Michael Doub wrote: > I feel a bit foolish as

Re: Group command syntax

2013-04-19 Thread Mike Bonner
Yep, just tried it and it works with that method. If you lock screen of course you can avoid showing all the selection handles. On Fri, Apr 19, 2013 at 4:39 PM, Mike Bonner wrote: > THere was a discussion around here smoewhere about groups not working > correctly with the "last" keyword. > > Ho

Re: Group command syntax

2013-04-19 Thread Mike Bonner
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

Re: Group command syntax

2013-04-19 Thread Mike Bonner
If you want to avoid the "do" you can just build the list put the name of button "a" & " and " & the name of button "b" into tReferences group tReferences Though if you know that you're going to group button "a" and button "b" doing group button "a" and button "b" is the better way, so I'm assum

Re: Group command syntax

2013-04-19 Thread Michael Doub
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 wrote: > Mike, > > The dictionary states… > > Parameters: >

Re: Group command syntax

2013-04-19 Thread Paul Hibbert
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 o

Group command syntax

2013-04-19 Thread Michael Doub
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