Establecer automáticamente un nombre de archivo al ejecutar Guardar HTML interactivoHola a todos,
Me gustaría configurar automáticamente parte de un nombre de archivo dependiendo de una variable en el cuadro de diálogo "Guardar como". Algo que podría funcionar así (usando el ejemplo de 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
Cuando se abre el cuadro de diálogo Guardar como, se establece la primera parte del nombre del archivo ya por el codigo . Luego, el usuario completa manualmente el nombre completo.

¡¡Gracias por tu ayuda!!
Re: Establecer automáticamente un nombre de archivo al ejecutar Guardar HTML interactivoMuchas gracias !!! ¡Buena solución!Re: Establecer automáticamente un nombre de archivo al ejecutar Guardar HTML interactivoyo pensar esto es lo que buscas:
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 );