Page 1 of 1
print all scripts
Posted: Mon Mar 05, 2007 2:37 am
by petero
Is there a utility that will print out all the scripts in your stack?
Thanks in advance for any help.
Posted: Mon Mar 05, 2007 3:10 am
by BvG
I don't know, but you can easily make it yourself.
"the script" is just a property as many others, thus you only need to something similar to this:
Code: Select all
put "All the Scripts:" & return & return into y
repeat for the number of controls times
add one to x
put the name of control x & ":" & return & the script of control x & return & return after y
end repeat
put the name of this card & ":" & return & the script of control x & return & return after y
put the name of this stack & ":" & return & the script of control x & return & return after y
revPrintText y
Of course that'd be only the current card, but you can add another repeat for that. Also note that this prints unstyled text.
Re: print all scripts
Posted: Mon Mar 05, 2007 2:53 pm
by marielle
petero wrote:Is there a utility that will print out all the scripts in your stack?
Hi Petero,
There is one now
. I have just loaded the one I use on the
stacks gallery
Right click on the blue arrow under "Save All
Scripts in a Stack" to get it. If you have any problem, let me know. The code is a bit messy and can for sure be improved. If you do so, please consider sending me the stack back with your improvements.
Marielle
Re: print all scripts
Posted: Sun Sep 16, 2012 6:43 am
by anmldr
There is one now
. I have just loaded the one I use on the...link deleted
Does anyone have a copy of this utility?
Or is it built into LiveCode now and I have not found it?
Linda
Re: print all scripts
Posted: Sun Sep 16, 2012 1:00 pm
by Klaus
Hi Linda,
no, this is not build-in in LiveCode, and I doubt that someone has this utility after more than 5 years. But check this one:
http://www.createchsol.com/ScriptReporter/
Best
Klaus