Get Script Groups Names
Get Script Groups Names using Move Selected scripts
Summary: Runs the organization and renaming of script groups in a JMP data table, allowing for efficient management of complex analyses.
Code:
dt = Open("data_table.jmp");
dt << Move Selected scripts(
{"Graph Builder Smoother Line", "Graph Builder Line and Bar Charts", "Graph Builder Line Chart", "Graph Builder Heat Map"},
to first
);
dt << get script groups names();
dt << group scripts( "First Group", {"Distribution", "Bivariate", "Oneway"} );
dt << rename script group( "First Group", "Group of Scripts" );
dt << ungroup scripts( "Group of Scripts" );
Code Explanation:
- Open data table.
- Move selected scripts to first.
- Get script groups names.
- Group scripts into "First Group".
- Rename "First Group" to "Group of Scripts".
- Ungroup "Group of Scripts".