Getting Scripts as an RTF file
Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller
-
richmond62
- Livecode Opensource Backer

- Posts: 10453
- Joined: Fri Feb 19, 2010 10:17 am
Getting Scripts as an RTF file
-
This will produce a list of the scripts in a stack.
This will produce a list of the scripts in a stack.
- Attachments
-
- Sucker.livecode.7z
- Stack.
- (1.25 KiB) Downloaded 33 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 33 times
-
richmond62
- Livecode Opensource Backer

- Posts: 10453
- 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: 10453
- 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 5 times
-
richmond62
- Livecode Opensource Backer

- Posts: 10453
- Joined: Fri Feb 19, 2010 10:17 am
Re: Getting Scripts as an RTF file
Klaus . . .
did you edit my stack using the out-dated Community version of LIveCode, or a later Commercial version?
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
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".
Does it not work in earlier Community versions?
Just tested it without problems in "HyperXTalk".
-
richmond62
- Livecode Opensource Backer

- Posts: 10453
- Joined: Fri Feb 19, 2010 10:17 am
Re: Getting Scripts as an RTF file
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/
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
Sorry, no idea about that...