대화형 HTML 저장을 실행할 때 자동으로 파일 이름 설정여러분 안녕하세요,
"다른 이름으로 저장 대화 상자"의 변수에 따라 파일 이름의 일부를 자동으로 설정하고 싶습니다. 다음과 같이 작동할 수 있는 것(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
다른 이름으로 저장 대화 상자가 열리면 파일 이름의 첫 번째 부분이 설정됩니다. 이미 코드로 . 그런 다음 사용자가 전체 이름을 수동으로 완성합니다.

당신의 도움을 주셔서 감사합니다!!
Re: 대화형 HTML 저장을 실행할 때 자동으로 파일 이름을 설정합니다.많은 감사합니다 !!! 좋은 해결 방법!Re: 대화형 HTML 저장을 실행할 때 자동으로 파일 이름을 설정합니다.나 생각한다 이것이 당신이 찾고 있는 것입니다:
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 );