Re: group a single object?

2010-05-11 Thread dfepstein




When it comes to groups, however, you can't count on the word "last" to 
refer to the last group on the card (if the group you want is nested within 
another group, for example).  I believe there's a bug report or 2 in the 
RQCC about this, but one workaround is to use the templateGroup and 
establish a name before grouping the object/s. 



Another workaround is to get the owner of the object immediately after you've 
grouped it: 



group control id aa 

get the long id of the owner of control id aa 



David Epstein
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: group a single object?

2010-05-10 Thread Geoff Canyon Rev
Seemingly only if the item is not already part of a group (no idea
why). The code I posted will work at any level of nested groups.

gc

On Tue, May 11, 2010 at 1:03 AM, Chipp Walters  wrote:
> Can't you also:
>
> group  img 1
> set the name of it to "mySpecialGrp"
>
> .??
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: group a single object?

2010-05-10 Thread Chipp Walters
Can't you also:

group  img 1
set the name of it to "mySpecialGrp"

.?? 

Chipp Walters
CEO, Shafer Walters Group, Inc

On May 11, 2010, at 12:23 AM, Scott Rossi  wrote:

> Recently, Nicolas Cueto wrote:
> 
>> Is there a way to group a single object?
>> 
>> Something like:
>> 
>>   select image "img1"
>>   group image "img1"
>>   put the ID of the last group into tID
>>   set the name of group tID to "gpImg1"
> 
> You shouldn't need to select anything, you can just write:
> 
>  group image "img1"
> 
> When it comes to groups, however, you can't count on the word "last" to
> refer to the last group on the card (if the group you want is nested within
> another group, for example).  I believe there's a bug report or 2 in the
> RQCC about this, but one workaround is to use the templateGroup and
> establish a name before grouping the object/s.  Like:
> 
> set the name of the templateGroup to "mySpecialGroup"
> group image "img1"
> reset the templateGroup
> 
> You can then refer to the group by name, rather than "last".
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX Design
> 
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: group a single object?

2010-05-10 Thread Geoff Canyon Rev
I think this works reasonably well:

   put the layer of btn "target" into L
   set the relayerGroupedControls to true
   create group "container"
   put the long id of it into C
   set the layer of btn "target" to the layer of C
   set the layer of C to L

The business with long id is to make sure there isn't another group
called "container." When I first wrote this I just referred to it by
name, and then of course I tried it twice in a row and it failed the
second time. This version seems to work fine, ever-more-deeply nesting
button "target" into groups called container.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: group a single object?

2010-05-10 Thread Scott Rossi
Recently, Nicolas Cueto wrote:

> Is there a way to group a single object?
> 
> Something like:
> 
>select image "img1"
>group image "img1"
>put the ID of the last group into tID
>set the name of group tID to "gpImg1"

You shouldn't need to select anything, you can just write:

  group image "img1"

When it comes to groups, however, you can't count on the word "last" to
refer to the last group on the card (if the group you want is nested within
another group, for example).  I believe there's a bug report or 2 in the
RQCC about this, but one workaround is to use the templateGroup and
establish a name before grouping the object/s.  Like:

 set the name of the templateGroup to "mySpecialGroup"
 group image "img1"
 reset the templateGroup

You can then refer to the group by name, rather than "last".

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


group a single object?

2010-05-10 Thread Nicolas Cueto
Is there a way to group a single object?

Something like:

   select image "img1"
   group image "img1"
   put the ID of the last group into tID
   set the name of group tID to "gpImg1"

Thank you.

--
Nicolas Cueto
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution