Page 1 of 1
Scripts
Posted: Wed Feb 24, 2010 3:52 pm
by tal
Hello,
Is there an easy way to know how many scripts and lines of scripts do I have wrote in my application?
I only know this code
Code: Select all
put the number of lines of the script of stack "A"
Thanks
Re: Scripts
Posted: Wed Feb 24, 2010 5:33 pm
by BvG
almost there
just repeat for each card, and within that for each control, similar to this:
Code: Select all
on mouseUp
put the name of the mousestack & return & the script of the mousestack & return & return into theResult
repeat for the number of cards in the mousestack
add one to cardNumber
put the name of card cardNumber & return & the script of the card cardNumber & return & return after theResult
repeat for the number of controls of card cardNumber
add one to controlNumber
put the name of control controlNumber & return & the script of control controlNumber & return & return after theResult
end repeat
end repeat
put theResult into field "result"
end mouseUp
Re: Scripts
Posted: Wed Feb 24, 2010 5:39 pm
by tal
Thats what I did, thank you.