Page 1 of 1
Getting Scripts as an RTF file
Posted: Mon Aug 03, 2026 12:09 pm
by richmond62
-
This will produce a list of the scripts in a stack.
Re: Getting Scripts as an RTF file
Posted: Mon Aug 03, 2026 8:05 pm
by Klaus
Here a version that will also colorize the script, so you have the colors in the RTF file, too!
Just a one-liner.
CAVEAT:
This will only work in the IDE, the colorization is in the engine.
Re: Getting Scripts as an RTF file
Posted: Mon Aug 03, 2026 8:17 pm
by richmond62
Super, Thanks.

Re: Getting Scripts as an RTF file
Posted: Tue Sep 01, 2026 5:05 pm
by EMR
Interesting and helpful!
I did experience a problem with the second version (Sucker_color; the original ran fine). I think the button script refers to itself as "Sucker" when it is actually "Sucker_color" (?)
Re: Getting Scripts as an RTF file
Posted: Tue Sep 01, 2026 6:46 pm
by richmond62
Yes; that's right: Klaus did not change the name of the stack in the script.
Just open it up and change it.

Re: Getting Scripts as an RTF file
Posted: Tue Sep 01, 2026 7:51 pm
by Klaus
For your convenience, here the corrected stack...
Re: Getting Scripts as an RTF file
Posted: Wed Sep 02, 2026 9:33 am
by richmond62
Klaus . . .
did you edit my stack using the out-dated Community version of LIveCode, or a later Commercial version?
Re: Getting Scripts as an RTF file
Posted: Wed Sep 02, 2026 11:21 am
by Klaus
I used LC 10.0.6 RC1 commercial for editing.
Does it not work in earlier Community versions?
Just tested it without problems in "HyperXTalk".
Re: Getting Scripts as an RTF file
Posted: Wed Sep 02, 2026 11:35 am
by richmond62
It works: that is not the problem.
I wonder if, having edited a stack made with an open source version of xTalk it loses it 'opensourceness' by being edited with a Commercial version/
Re: Getting Scripts as an RTF file
Posted: Wed Sep 02, 2026 11:53 am
by Klaus
Sorry, no idea about that...