Group command syntax
Michael Doub
mikedoub at gmail.com
Fri Apr 19 19:10:03 EDT 2013
I guess I don't know how to do the selection... searching the docs. ;-)
On Apr 19, 2013, at 7:01 PM, Michael Doub <mikedoub at gmail.com> 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/PainTracking/PainTracking.livecode" and
> group id 1422 of card id 1007 of stack "/Users/mike/Dropbox/PainTracking/PainTracking.livecode" and
> group id 1425 of card id 1007 of stack "/Users/mike/Dropbox/PainTracking/PainTracking.livecode" and
> group id 1428 of card id 1007 of stack "/Users/mike/Dropbox/PainTracking/PainTracking.livecode" and
> group id 1431 of card id 1007 of stack "/Users/mike/Dropbox/PainTracking/PainTracking.livecode" and
> group id 1434 of card id 1007 of stack "/Users/mike/Dropbox/PainTracking/PainTracking.livecode" and
> group id 1437 of card id 1007 of stack "/Users/mike/Dropbox/PainTracking/PainTracking.livecode" and
> group id 1440 of card id 1007 of stack "/Users/mike/Dropbox/PainTracking/PainTracking.livecode" and
> group id 1443 of card id 1007 of stack "/Users/mike/Dropbox/PainTracking/PainTracking.livecode" and
> group id 1446 of card id 1007 of stack "/Users/mike/Dropbox/PainTracking/PainTracking.livecode"
>
> This is in the variable theGroupList with no returns (I added them for the email)
>
> select theGroupList -- Line 101
> group the selobj
> set the name of the selobj to "_scroller"
> select empty
>
> card "Survey": execution error at line 101 (Chunk: error in object expression) near "group id 1416 of card id 1007 of stack .....
>
> is the error.
>
> I think that I am doing exactly what you are suggesting Mike, but there is something I am missing.
>
> -= Mike
>
>
>
>
> On Apr 19, 2013, at 6:40 PM, Mike Bonner <bonnmike at gmail.com> wrote:
>
>> 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 <bonnmike at gmail.com> wrote:
>>
>>> 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
>>>
>
More information about the use-livecode
mailing list