In JSL, there is a column diag function in which a column in a table can be assigned to a list by using ColList function. When the script is run, user needs to click on a button to make the assignment happens. It requires interactive user input.
Col_dlg = ColumnDialog(
Title("Variable Assignment"),
::x = ColList("Run ID", MinCol(1), MaxCol(1), Columns(:LOT)),
.....
);
Is there a way to write a script such that a column can be assigned to a list without user clicking on the button on the dialog window (no dialog window will be shown when it runs)?
I tried:
::x = ColList("Run ID (Required)", MinCol(1), MaxCol(1), Columns(:LOT));
::x = :LOT << Get Values;
::x = Column(dt,"LOT");
all failed. Any clues?