Refer to new group?

Jeanne A. E. DeVoto revolution at jaedworks.com
Tue Aug 2 12:04:23 EDT 2016


At 8:37 AM -0700 8/2/2016, Richard Gaskin wrote:
>Apparently the "group" command is an exception to the general rule 
>that "it" will contain the long ID of a newly-created object after a 
>command that creates it.
>
>And using "last" is not always reliable with groups.


Since your script knows which object(s) you grouped, you could use the owner:

    group field 1 and field 2
    get the long ID of the owner of field 1 -- owner is the new group




More information about the use-livecode mailing list