If I enter the following at the REBOL console, then the button works.
view layout [button [launch %feedback.r]]
If I save this as a REBOL script, and run it, then the button doesn't work.
Seems like a bug to me. If this is a security issue then 'launch could be configured
to always 'ask?
Anyway, I would like to be able to run a script that has, as one part, something
similar to the above.
I cannot use "'do script", because then the original script exits and the script
designated by 'script runs.
I have tried various combinations of
script: load file (or load/next or load/all)
view/new script (or view/new layout [do script])
Or even
parse file [from 'layout copy script to 'view]
script: layout script
view/new script
Nothing seems to work.
*** Perhaps I should try some sort of face/pane operation? But I would still need
some way to interactively layout the script and then "view/new script". ***
*** Please, I need ideas on how to run an arbitrary script from a View face button,
while keeping the original face open.*** (I am choosing the script from a text-list)
Essentially, I want a View script that will interactively run other scripts while
remaining open. 'launch is almost what I need.
Any ideas?
BTW: the following works when I enter simple text into the field, such as "area" or
"text {trial field} field"
view layout [f: field button [view/new layout to-block f/text]]
--
_______________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
1 cent a minute calls anywhere in the U.S.!
http://www.getpennytalk.com/cgi-bin/adforward.cgi?p_key=RG9853KJ&url=http://www.getpennytalk.com
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.