print all scripts

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
petero
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 59
Joined: Sat Jan 20, 2007 4:09 am

print all scripts

Post by petero » Mon Mar 05, 2007 2:37 am

Is there a utility that will print out all the scripts in your stack?

Thanks in advance for any help.

BvG
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1236
Joined: Sat Apr 08, 2006 1:10 pm
Location: Zurich
Contact:

Post by BvG » Mon Mar 05, 2007 3:10 am

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.
Various teststacks and stuff:
http://bjoernke.com

Chat with other RunRev developers:
chat.freenode.net:6666 #livecode

marielle
Livecode Opensource Backer
Livecode Opensource Backer

Re: print all scripts

Post by marielle » Mon Mar 05, 2007 2:53 pm

petero wrote:Is there a utility that will print out all the scripts in your stack?
Hi Petero,

There is one now :-D. 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

anmldr
Posts: 459
Joined: Tue Sep 11, 2012 11:13 pm

Re: print all scripts

Post by anmldr » Sun Sep 16, 2012 6:43 am

There is one now :-D. 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

Klaus
Posts: 13828
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: print all scripts

Post by Klaus » Sun Sep 16, 2012 1:00 pm

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/ :D

Best

Klaus

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”