Hi All,
I have the following script that will prompt to open a data file and then a script to auto run once I hit OK box.
Names Default To Here( 1 );
New Window( "Data and Limits file",
<<modal,
Spacer Box( size( 10, 10 ) ),
Text Box( "Choose A Data File:" ),
// below showing directory of D:\JMP_test
BB1 = Button Box( "Pick file",
D = Pick File("Pick a file","D:\JMP_test");
If( D != "",
file1 << set text( D )
);
),
file1 = Text Box( ),
Spacer Box( size( 20, 10 ) );,
Text Box( "Choose A Script to Autorun:" ),
// below showing directory of D:\JSL
BB2 = Button Box( "Pick File",
L = Pick File("Pick a file","D:\JSL");
If( L != "",
file2 << set text( L )
);
),
file2 = Text Box( ),
Spacer Box( size( 20, 10 ) )
;
);
dt = Open (D);
dt2 = Open ((L),Run JSL(1)) ;If I intended to open more than one data file (2 files at once) and then run individual script assign to it, how to do it with jsl. For example, datatable1 will run with script1 and datable2 is assigned to run with script2
Thank you.