Salut tout le monde,
J'essaie d'automatiser l'analyse DOE, et j'ai plusieurs sorties, j'utilise le code suivant:
dt = Open( "5b.CD_Base_2Default23_UPM_Alpha0p01.jmp" );
// Option: Run script from a designed DOE
// Run script embedded in main table
ModelAna = dt << Run script( "Model" );
ModelAna << Y( :TMS, :TMH, :VMH, :VML );
//Get a reference to the report window containing the stepwise object
step_rprt = ModelAna << Report;
step_rprt[ListBoxBox( 2 )] << Set selected( 1 );//Remove Y
step_rprt[Button Box( 8 )] << click;//Remove Y
ModelAna << Personality( Stepwise );
ModelAna << Run(
Stopping Rule( "P-value Threshold" ),
Direction( "Forward" ),
Rules( "Combine" ),
Prob to Enter( 0.01 ),
Prob to Leave( 0 )
);
vmh_rprt = Current Report();
rprt = vmh_rprt << Report();
vmh_rprt[Button Box( 7 )] << click; //Go
// It is working up to this point, next 2 lines was a try to click on third output, but didnt work
t = Outline Box[9];
t[Button Box( 25 )] << click; //Go
Cela ne fonctionne que pour la première sortie, lorsque je clique sur OK, mais pas pour la suivante, avez-vous une idée de la façon de passer à une autre sortie et cliquez également sur OK, Comment puis-je passer d'une sortie à l'autre? (Je joins une photo avec les sorties sur lesquelles je veux cliquer sur Aller et ainsi de suite)