Hi, right now i have 6 scripting JMP that i use randomly depend on situation failure of my product. So i have created an example button box that i want to pick certain scripting JMP without opening at file.
My question is, can someone help me to open the script and the same time run the script using my button box?
User_Input = New Window( "JMP AUTOMATION", << modal(),
hlistbox(
),
Button Box( "BiModal (IL_ALL)",
),
Button Box( "SBL Disposition",
),
Button Box( "Median Disposition",
),
Button Box( "Fit Y By X",
),
Button Box( "Time Plot",
),
Button Box( "DELETE UNROW COLUMNS",
),
);
First, you need to remove the Modal specification. With the Modal specification, you will not be able to transfer control to your selected script, without closing your JMP AUTOMATION window.
Names Default To Here( 1 );
User_Input = New Window( "JMP AUTOMATION", //<< modal(),
H List Box(),
Button Box( "Confidence Intervals",
Include( "$SAMPLE_SCRIPTS/confidence.jsl" ) ),
Button Box( "Collinearity",
Include( "$SAMPLE_SCRIPTS/democollinearity.jsl" ) )
);
The actual specification for the Button Box() is
y = Button Box( title, script )
See the Scripting Index for details and example.
Therefore, all you need to do is to add the script to Include the script you want to run.
First, you need to remove the Modal specification. With the Modal specification, you will not be able to transfer control to your selected script, without closing your JMP AUTOMATION window.
Names Default To Here( 1 );
User_Input = New Window( "JMP AUTOMATION", //<< modal(),
H List Box(),
Button Box( "Confidence Intervals",
Include( "$SAMPLE_SCRIPTS/confidence.jsl" ) ),
Button Box( "Collinearity",
Include( "$SAMPLE_SCRIPTS/democollinearity.jsl" ) )
);
The actual specification for the Button Box() is
y = Button Box( title, script )
See the Scripting Index for details and example.
Therefore, all you need to do is to add the script to Include the script you want to run.