Number of controls bug? + Utility to record scripts
Dom
mcdomi at free.fr
Tue Dec 9 05:06:09 EST 2003
I wrote for myself a small utility to write down a stack's scripts under
text files*
I encountered a bug/feature with the "number of controls" function...
Say, have a test stack with one cd btn, and two groups, say a group
"data" with one fld and one btn, and a group "nav" with one fld and two
btns.
In the message box, type "put number of controls"
Guess it, the answer is 8 ;-)
I tried the undocumented (?):
"put number of controls of group 1" > 2 -- good
"put number of controls of group 2" > 3 -- good
I tried then:
"put number of controls of group 3" > 8 -- there is no group 3!
and the same with any
"put number of controls of group n" > 8
Weird, isn't it?
* By the way you can take a look [and make criticisms] on my scripts
here:
http://domiscript.free.fr/Rev/index.html
The stack is "Rappus" ("Rapp" is in french)
--
Digital photos (nature, garden) : http://cooldomi.free.fr/
Scripting : http://domiscript.free.fr/
More information about the use-livecode
mailing list