Legt automatisch einen Dateinamen fest, wenn Save Interactive HTML ausgeführt wirdHallo alle,
Ich möchte automatisch einen Teil eines Dateinamens abhängig von einer Variablen im Dialogfeld "Speichern unter" festlegen. Etwas, das so funktionieren könnte (am JMP-Beispiel):
Names Default To Here( 1 );
//This message applies to all display box objects
filename_part1="This is the long part of the filename"<BR />Open( "$SAMPLE_DATA/Big Class.jmp" );
biv = bivariate( y( :weight ), x( :height ) );
rbiv = biv << report;
rbiv << Save Interactive HTML(); <---set filename_part1
Wenn das Dialogfeld „Speichern unter“ geöffnet wird, ist der erste Teil des Dateinamens festgelegt schon durch den Code . Der Benutzer vervollständigt dann manuell den vollständigen Namen.

Vielen Dank für Ihre Hilfe!!
Betreff: Legt automatisch einen Dateinamen fest, wenn Save Interactive HTML ausgeführt wirdDanke vielmals !!! Schöne Problemumgehung!Betreff: Legt automatisch einen Dateinamen fest, wenn Save Interactive HTML ausgeführt wirdich denken das ist was du suchst:
Names Default To Here( 1 );
filename_part1="This is the long part of the filename";
Open( "$SAMPLE_DATA/Big Class.jmp" );
biv = bivariate( y( :weight ), x( :height ) );
rbiv = biv << report;
//Wait so the report shows up behind the window to choose a file
wait(0);
//Choose a file with the save flag set and the default filename set
filename_all = Pick File(
"Select JMP File",
"$DOCUMENTS",
{"HTML Files|htm;html", "All Files|*"},
1,
1,
filename_part1 || ".html"
);
//Save the file
rbiv << Save Interactive HTML( filename_all );