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 <[EMAIL PROTECTED]> 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

[EMAIL PROTECTED]
=======================
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to