Pass Command-Line Input Argument to OnOpenHello,
I would like to select rows in a table based on command-line input parameter/arguments when opening *.jmp files. For example, in a Windows environment, I would like to run "$SAMPLE_DATA/Big Class.jmp 2 5 9" and have OnOpen script to retrieve the "2 5 9" arguments and interpret them to be a matrix [2, 5, 9] for an input to the "Set Select Rows" function. Any thoughts or alternative ideas would be greatly appreciated from the community.
Data TableOtherScriptingWindowsRe: Pass Command-Line Input Argument to OnOpenHi Technician
Hope below JSL can help you to solve the problem.
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
rows = dt << Get Rows( {2, 5, 9} );