Lock screen and 'Go card' not working
Ian McKnight
iangmcknight at googlemail.com
Thu Apr 5 15:47:36 EDT 2007
Hi Tereza
I had looped through the names in the groupnames property, selecting
each group as I went and building a complicated do statement. It's
nice to be reminded that there is nearly always a simpler way to do
things in Revolution.
Thanks for the tip.
On 05/04/07, Tereza Snyder <tereza at califex.com> wrote:
>
> You don't need to select an object to move it or rename it or group
> it. If you have its long ID, which you can obtain after you make it
> either with "create" or with "clone": e.g.
>
> clone grp "unsweetened"
> put the long ID of it into tMyGrp1
> set the topleft of tMyGrp1 to tTopLeft1
> set the name of tMyGrp1 to "special dark"
>
> clone grp "unsweetened"
> put the long ID of it into tMyGrp2
> set the topleft of tMyGrp2 to tTopLeft2
> set the name of tMyGrp2 to "semi sweet"
>
>
> then later, you can group the objects you created with the "group"
> command:
>
> group tMyGrp1 and tMyGrp2 and grp "unsweetened"
>
> I create, clone and copy objects constantly in scripts, and I _never_
> have to use "select"
>
> t
>
--
Regards
Ian
=======================
Ian McKnight
iangmcknight at googlemail.com
=======================
More information about the use-livecode
mailing list