J'ai un script qui génère un tableau de bord. J'ai besoin d'une chaîne de code pour prendre le tableau de bord ouvert et l'enregistrer au format HTML interactif. J'ai trouvé le code suivant pour faire en partie la même chose ( source primaire ), mais je ne sais pas comment le modifier pour qu'il fonctionne avec un tableau de bord déjà ouvert.
Names Default To Here( 1 );
tmp_path = Substitute( Right( Convert File Path( "$TEMP" ), Length( Convert File Path( "$TEMP" ) ) - 1 ), "/", "\" );
Open( "$SAMPLE_DATA/Quality Control/Steam Turbine Historical.jmp" );
app = JMP App();
app << Open File( "$SAMPLE_DASHBOARDS/Instant Dashboard.jmpappsource" );
box = app << Run;
Show Properties( box );
Show( box );
(box << get windows)[1] << save html( "$TEMP\test.htm" );