Page 1 of 1
Long text in custom.scn
Posted: Sun May 28, 2006 6:15 am
by Limerick
Hello all,
I'd like to write quite a long explanation in custom.scn, but not all appears on screen after pressing F5 at main me, only the last.
How can I do to allow users to read all my explanations ?
There is about 45 lines
print "..................."
Thank you for your help

Posted: Sun May 28, 2006 4:32 pm
by Constance
Hmm maybe by changing the screen "resolution" from 25 lines to 43 and shortening the text a little bit.
Or by using something like "more", except that I don't know if the file you're talking about is some kinda batch file or something else ^^
Posted: Mon May 29, 2006 6:12 am
by Victor Chew
The best way will probably be to divide into two screens and use space bar to advance to the next screen.
Posted: Mon May 29, 2006 10:47 am
by Limerick
Merci Constance
Mais ce n'est pas la solution que je souhaiterais utiliser
Thanks Victor,
This is something I would like to do but I don't know how ?
Which code can divide into two screens and which one to let the space bar go to next screen ?
Posted: Mon May 29, 2006 3:30 pm
by Victor Chew
Split the content into two files eg. custom.scn and custom2.scn.
Then in custom.scn, put something like:
Code: Select all
if ($lastKey == key[space]); then script custom2.scn
Posted: Tue May 30, 2006 1:04 pm
by Limerick
I've
with a prompt and nothing happens when I press the space bar.
I'll continu my tests, do you have an idea ?
Posted: Wed May 31, 2006 1:39 pm
by Limerick
Thank you Victor, it works now.
I had to look around how all this stuff works.
See you,