JSL: Dashboard als interaktives HTML speichernIch habe aus einem Skript ein Dashboard erstellt und möchte es als interaktives HTML speichern und anschließend schließen. Das Skript läuft einwandfrei, das Speichern und Schließen jedoch nicht.
Ich habe es mit etwas Ähnlichem versucht, aber es funktioniert nicht.
Hilfe ist willkommen! Dank im Voraus!
Markus
Names Default To Here( 1 );
Open("$SAMPLE_DATA/Quality Control/Steam Turbine Historical.jmp");
app = JMP App();
app << Open File( "$SAMPLE_DASHBOARDS/Instant Dashboard.jmpappsource" );
box = app << Run;
box << save html("C:\Users\Markus\Desktop\test.htm");
close(box);Ergebnisse teilen und kommunizierenBetreff: JSL: Dashboard als interaktives HTML speichernIch glaube, der Befehl zum Ausführen der Anwendung hat einen anderen Typ geliefert als erwartet.
Probieren Sie das beigefügte Skript aus.
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" );
Betreff: JSL: Dashboard als interaktives HTML speichernFür interaktives HTML sollten Sie Folgendes verwenden:
Save Interactive HTML
statt 'HTML speichern'
- John