Is there a utility that will print out all the scripts in your stack?
Thanks in advance for any help.
print all scripts
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
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:
Of course that'd be only the current card, but you can add another repeat for that. Also note that this prints unstyled text.
"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
Various teststacks and stuff:
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
http://bjoernke.com
Chat with other RunRev developers:
chat.freenode.net:6666 #livecode
-
- Livecode Opensource Backer
Re: print all scripts
Hi Petero,petero wrote:Is there a utility that will print out all the scripts in your stack?
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
Does anyone have a copy of this utility?There is one now . I have just loaded the one I use on the...link deleted
Or is it built into LiveCode now and I have not found it?
Linda
Re: print all scripts
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
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