For the latest version of JMP Help, visit JMP.com/help.


Scripting Guide > Scripting Platforms > Execute Embedded Red Triangle Options
Publication date: 07/24/2024

Execute Embedded Red Triangle Options

In addition to the red triangle menu at the top of a JMP report, some report windows contain embedded red triangle menus. These appear when you select an option that has sub-options, such as profilers. To execute options in embedded red triangle menus, use the Get Scriptable Object message. The following example creates a Life Distribution report then turns off the Confidence Intervals option in the Hazard Profiler red triangle menu:

dt = Open( "$SAMPLE_DATA/Reliability/Fan.jmp" );
 

// create a Life Distribution report with a lognormal distribution

obj = dt << Life Distribution(
       Y( :Time ),
       Censor( :Censor ),
       << Fit Lognormal
);
 

// get a reference to the Hazard Profiler red triangle menu

haz_prof = ( report( obj )[ "Hazard Profiler" ] << Get Scriptable Object);
 
// turn off confidence intervals in the Hazard Profiler
haz_prof << Confidence Intervals( 0 );
Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).