----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 19, 2000 10:25 AM
Subject: [REBOL] A very basic question, I hope...
> How do you start a second View script running (meaning from within a
> View script) without the first one closing its window/s and ending?
> I've spent a long time looking for info or an example on this and
> failing to find anything...
>
> Carl Read.
>
>
Hi Carl,
The attached demo illustrates a way to do this. This approach does not
require any changes to the target script at all. (unlike the do-thru/args
method I use on my rebsite).
rather than doing this
view do %script.r which gives the behaviour you describe.
use my 'do-get-face function. It does the script and returns the face
(prevents it from showing)
so you can do things like this (just some ideas)
view/new do-get-face %script.r
or
append main-face/pane do-get-face %script.r
show main-face
or
script-face: do-get-face %script.r
script-face/color: red
view/new script-face
etc..
I hope this helps.
Cheers,
Allen K
ps: Just do the .rip file to extract the demo. Then do %get-face.r
get-face.rip