Page 1 of 1
"repeat for each" in a group
Posted: Sat Sep 22, 2012 10:31 am
by LittleGreyMan
Hello,
According to the dictionary, "repeat for each" seems to only apply to containers.
But I was wondering if it can be used for buttons in a group, and which is the syntax in this case. I tried some variants, with no luck.
TIA
Re: "repeat for each" in a group
Posted: Sat Sep 22, 2012 11:33 am
by Klaus
Hi Didier,
the dictionary is correct, you can't, use: repeat with i = 1 to the num of btns of grp XYZ
I don't think that you can have that much buttons in a group that you have a real advantage in speed if you could
Best
Klaus
Re: "repeat for each" in a group
Posted: Sat Sep 22, 2012 11:44 am
by LittleGreyMan
Hi Klaus,
Thanks for the bad news. Hopefully, I'm not considering killing the messenger for a simple rhetoric issue
I was not seeking speed, just considering this syntax handsome.
In the meantime, the script has been written as you suggested.
Re: "repeat for each" in a group
Posted: Sat Sep 22, 2012 4:18 pm
by Klaus
Hi Didier,
LittleGreyMan wrote:Hi Klaus,
Thanks for the bad news. Hopefully, I'm not considering killing the messenger for a simple rhetoric issue
Oh, thank you, too kind!
LittleGreyMan wrote:I was not seeking speed, just considering this syntax handsome.
I agree, that would be very handy for all other things, too!
LittleGreyMan wrote:In the meantime, the script has been written as you suggested.
That was the plan
Have a nice weekend!
Best
Klaus