Ich habe ein Skript, das ein Dashboard generiert. Ich benötige eine Codezeichenfolge, um das geöffnete Dashboard als interaktives HTML zu speichern. Ich habe den folgenden Code gefunden, der teilweise das Gleiche bewirkt ( Originalquelle ), aber ich bin mir nicht sicher, wie ich es ändern soll, damit es mit einem bereits geöffneten Dashboard funktioniert.
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" );