Here is an example of using Manage Limits where the limits are applied without having to do any manual clicking
Names Default To Here( 1 );
dtLimits = New Table( "Cities Limits",
Add Rows( 4 ),
New Column( "Process", Character, Set Values( {"OZONE", "CO", "SO2", "NO"} ) ),
New Column( "LSL", Numeric, Set Values( [0, 0, 0, 0] ) ),
New Column( "Target", Numeric, Set Values( [0.2, 15, 0.05, 0.035] ) ),
New Column( "USL", Numeric, Set Values( [0.4, 30, 0.1, 0.07] ) ),
Set Label Columns( :Process )
);
dt = Open( "$SAMPLE_DATA/Cities.jmp" );
obj = dt << Manage Limits(
Process Variables( :OZONE, :CO, :SO2, :NO ),
Load From Limits Table( dtLimits )
);
obj << Save to Column Properties;
obj << close window;
Jim