How to activate a button box with "desired script" from the text box.As shown below, when the user inputs the desired script into the text box(ex. Distribution( Continuous Distribution( Column( :X) ) );)
and then executes the button box, how can the corresponding script be executed as analysis? Thanks for letting us know!
I want the script to be executed as analysis when the user inputs the desired script into the text box and then executes the button box as shown below.
How can I execute the text entered in the text box immediately with a button click?

Though I stored the desired script as a variable using get text() and write(), it is not executed as an analysis.
I would really appreciate it if you could tell me how to solve it.
Quality and Process EngineeringWindowsRe: How to activate a button box with "desired script" from the text box.It works!
Thanks all for your kindly help 
Re: How to activate a button box with "desired script" from the text box.You need to look at the 'Parse()' function:
Names Default To Here( 1 );
txt = "x+y";
scr = Parse(txt);
x = 2; y = 3;
Print(scr);
Print(Eval(scr));
It feels like typing in a script this way would be quite error prone.
Re: How to activate a button box with "desired script" from the text box.Use the Eval(Parse()) combination of functions to execute a text string of JSL


Names Default To Here( 1 );
New Window( "Enter Script",
V List Box(
tb = Text Edit Box( "", <<SET width=""></SET>