Imposta automaticamente un nome file durante l'esecuzione di Save Interactive HTMLCiao a tutti,
Vorrei impostare automaticamente parte di un nome file in base a una variabile nella "finestra di dialogo salva come". Qualcosa che potrebbe funzionare in questo modo (usando l'esempio JMP):
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
Quando si apre la finestra di dialogo Salva con nome, viene impostata la prima parte del nome file già dal codice . L'utente quindi completa manualmente il nome completo.

Grazie per l'aiuto!!
Re: Imposta automaticamente un nome file durante l'esecuzione di Save Interactive HTMLGrazie molto !!! Bella soluzione!Re: Imposta automaticamente un nome file durante l'esecuzione di Save Interactive HTMLio pensare Questo e ciò che stai cercando:
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 );