The name of a group

2009-03-28 Thread René Micout
Hello, I have a button within a group, when I click the button I want the name of the group. I script : put the name of the group of the target into x but it is wrong. What is the good syntax ? Thank You René from Paris___ use-revolution mailing

Re: The name of a group

2009-03-28 Thread Klaus Major
Bonjour René, Hello, I have a button within a group, when I click the button I want the name of the group. I script : put the name of the group of the target into x but it is wrong. What is the good syntax ? Try: put the name of the OWNER of the target into x See the the docs - owner

Re: The name of a group

2009-03-28 Thread Andre.Bisseret
Bonjour René, As a first idea, you might extract the name of the group from the long name of the button ex of the long name of one of my button : button Header 1 1 of group grBtnsTrieurs of card id 1002 of stack /Users/did/Desktop/Statistics.rev I don't know if there is a simpler trick

Re: The name of a group

2009-03-28 Thread René Micout
Danke Klaus Merci André René Le 28 mars 09 à 15:34, Klaus Major a écrit : Bonjour René, Hello, I have a button within a group, when I click the button I want the name of the group. I script : put the name of the group of the target into x but it is wrong. What is the good syntax ? Try

set the name of last group not working?

2006-02-14 Thread Josh Mellicker
The doc says: Tip: To refer to the newly-created group, use the last keyword: group button Yes and button No set the name of last group to Do It Yet with this script: clone group dave set the name of it to spooky -- correctly names the clone group spooky AND fld water set

Re: set the name of last group not working?

2006-02-14 Thread Peter T. Evensen
group to Do It Yet with this script: clone group dave set the name of it to spooky -- correctly names the clone group spooky AND fld water set the name of last group to drinking --Rev renames the cloned group spooky to drinking, and leaves the name of the master group to grp id 1028 I get the same

Re: set the name of last group not working?

2006-02-14 Thread Josh Mellicker
only happened if you were not on the card in which you were creating the objects. I believe it was fixed in 2.7. This bug might happen in other cases. Did you try this with 2.7? Yes. I simplified it down to: group grp daveGroup AND fld spooky set the name of last group to newName --Rev

Re: set the name of last group not working?

2006-02-14 Thread Josh Mellicker
and button No set the name of last group to Do It Yet with this script: clone group dave set the name of it to spooky -- correctly names the clone group spooky AND fld water set the name of last group to drinking --Rev renames the cloned group spooky to drinking, and leaves the name