Hi,
Is there a way I could open the data table, save in the variable and close it while the script is running? It's annoying sometimes because the input data table will pop up. I tried using close window, close() but they didn't seem to work.
Names Default To Here( 1 );
Clear Globals();
Clear Log();
dt2 = Current Data Table();
nw = New Window( "New window",
<<modal(),
Text Box(
"Tests",
<<Set Font Style( "Bold" ),
<<Set Wrap( 1000 )
),
Spacer Box( Size( 20, 20 ) ),
H List Box(
Panel Box( "Input JMP file",
<<set font style( "Bold" ),
Button Box( "Select file", dt1 = Open(), <<setIcon( "ListItemAdd" ) ) // Can I use close window syntax? here
)),
Spacer Box( Size( 20, 10 ) ),
Panel Box( "Actions",
H List Box(
align( center ),
Button Box( "OK",
keep_going = 1;
todo_list = my_cb << get selected, <<setIcon( "CheckCircle" );
),
Button Box( "Cancel", keep_going = 0, <<setIcon( "ErrorSmall" ))
),
),
<<Size Window( 340, 430 )
);