Is there any "good" options for running JMP platforms with prefilled options, such as column selections. Below are two options that came to my mind.
First option is "building" the platform window and then selecting columns from table and pressing button to add those columns.
Second option is first running the platform with JSL script and then << Relaunch Analysis to open the window "prefilled".
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Semiconductor Capability.jmp");
col_list = {"NPN1", "PNP1", "PNP2"};
// Option 1, using selected colums and button to add selected columns
dt << Select Columns(col_list);
nw_eo = New window("Process Screening", << Show Menu(0), << Show Toolbars(0),
Platform(dt, Process Screening())
);
xpath_path = "//ButtonBox[@title='Process Variables']";
btn_ref = (nw_eo << XPath(xpath_path))[1];
btn_ref << Click(1);
dt << Clear Select;
stop();
// Option 2, might be slow depending on platform
ps = dt << Process Screening(
Process Variables(Eval(col_list)),
Control Chart Type("Indiv and MR")
);
ps << Relaunch Analysis;
ps << Close Window;