안녕,
그래프를 파워포인트로 내보낼 수 있다는 건 알지만, 한 번에 하나씩 해야 한다는 건 좀 번거롭습니다. JSL을 사용해서 열려 있는 모든 보고서를 인식하고 for 루프와 save presentation() 함수를 사용해서 하나의 파워포인트로 내보내려고 했지만, 작동하지 않습니다.
열려 있는 모든 창/보고서를 인식하는 기능을 알아내는 데 어려움이 있는 것 같습니다. 누군가 도와주세요.
Something like Get Window List( Type( "Reports" ) ); might help? E.g.
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dist = dt << Distribution(
Continuous Distribution( Column( :height ), Process Capability( 0 ) ),
Continuous Distribution( Column( :weight ), Process Capability( 0 ) )
);
fitxy = dt << Bivariate( Y( :weight ), X( :height ) );
boxp = dt << Graph Builder(
Size( 528, 448 ),
Show Control Panel( 0 ),
Variables( X( :sex ), Y( :height ) ),
Elements( Box Plot( X, Y, Legend( 4 ) ), Points( X, Y, Legend( 5 ) ) )
);
winlist = Get Window List( Type( "Reports" ) );
Wait( 0 );
For( i = 1, i <= N Items( winlist ), i++,
pw = New Window( "output", <<WINDOW view=""></WINDOW>
<P>This saves the exact image of the report. To get the typical output with JMP tables, replace <CODE class=" language-jsl">pw with winlist[i] in the << Save Presentation lines and delete the lines with pw.
편집: 원래 코드에는 "출력", "출력 2"라는 숨겨진 창이 많이 있었습니다... 죄송합니다.
그게 바로 그것입니다! 해결책을 알려주셔서 감사합니다. 완벽하게 작동합니다.:)