-
This will produce a list of the scripts in a stack.
Getting Scripts as an RTF file
Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller
-
richmond62
- Livecode Opensource Backer

- Posts: 10451
- Joined: Fri Feb 19, 2010 10:17 am
Getting Scripts as an RTF file
- Attachments
-
- Sucker.livecode.7z
- Stack.
- (1.25 KiB) Downloaded 31 times
Re: Getting Scripts as an RTF file
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.
Just a one-liner.
CAVEAT:
This will only work in the IDE, the colorization is in the engine.
- Attachments
-
- Sucker_color.livecode.zip
- (1.78 KiB) Downloaded 32 times
-
richmond62
- Livecode Opensource Backer

- Posts: 10451
- Joined: Fri Feb 19, 2010 10:17 am
Re: Getting Scripts as an RTF file
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" (?)
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" (?)
-
richmond62
- Livecode Opensource Backer

- Posts: 10451
- Joined: Fri Feb 19, 2010 10:17 am
Re: Getting Scripts as an RTF file
Yes; that's right: Klaus did not change the name of the stack in the script.
Just open it up and change it.
Just open it up and change it.
Re: Getting Scripts as an RTF file
For your convenience, here the corrected stack...
- Attachments
-
- Sucker_color2.livecode.zip
- (1.79 KiB) Downloaded 2 times