<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic saving multiple reports into one powerpoint in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/saving-multiple-reports-into-one-powerpoint/m-p/855454#M102660</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am aware we can export graphs into powerpoint but having to do this one at a time is a bit cumbersome. I have been attempting to use JSL to recognize all my open reports and export it into one single powerpoint with a for loop and the save presentation() function, but it's not working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think I'm having trouble figuring out the function that would recognize all my open windows/reports. Can someone please help?&lt;/P&gt;</description>
    <pubDate>Wed, 26 Mar 2025 13:06:27 GMT</pubDate>
    <dc:creator>Tina442</dc:creator>
    <dc:date>2025-03-26T13:06:27Z</dc:date>
    <item>
      <title>saving multiple reports into one powerpoint</title>
      <link>https://community.jmp.com/t5/Discussions/saving-multiple-reports-into-one-powerpoint/m-p/855454#M102660</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am aware we can export graphs into powerpoint but having to do this one at a time is a bit cumbersome. I have been attempting to use JSL to recognize all my open reports and export it into one single powerpoint with a for loop and the save presentation() function, but it's not working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think I'm having trouble figuring out the function that would recognize all my open windows/reports. Can someone please help?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2025 13:06:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/saving-multiple-reports-into-one-powerpoint/m-p/855454#M102660</guid>
      <dc:creator>Tina442</dc:creator>
      <dc:date>2025-03-26T13:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: saving multiple reports into one powerpoint</title>
      <link>https://community.jmp.com/t5/Discussions/saving-multiple-reports-into-one-powerpoint/m-p/855559#M102664</link>
      <description>&lt;P&gt;Something like &lt;CODE class=" language-jsl"&gt;Get Window List( Type( "Reports" ) );&lt;/CODE&gt;&amp;nbsp;might help? E.g.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dist = dt &amp;lt;&amp;lt; Distribution(
	Continuous Distribution( Column( :height ), Process Capability( 0 ) ),
	Continuous Distribution( Column( :weight ), Process Capability( 0 ) )
);
fitxy = dt &amp;lt;&amp;lt; Bivariate( Y( :weight ), X( :height ) );
boxp = dt &amp;lt;&amp;lt; 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 &amp;lt;= N Items( winlist ), i++,
	pw = New Window( "output", &amp;lt;&amp;lt;Window View( "Invisible" ), winlist[i] &amp;lt;&amp;lt; get picture );
	If( i == 1,
		pw &amp;lt;&amp;lt; Save Presentation( "$TEMP/all_reports.pptx" ),
		pw &amp;lt;&amp;lt; Save Presentation( "$TEMP/all_reports.pptx", Append )
	);
	pw &amp;lt;&amp;lt; close window();
);
Open( "$TEMP/all_reports.pptx" );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This saves the exact image of the report. To get the typical output with JMP tables, replace&amp;nbsp;&lt;CODE class=" language-jsl"&gt;pw&lt;/CODE&gt;&amp;nbsp;with&amp;nbsp;&lt;CODE class=" language-jsl"&gt;winlist[i]&lt;/CODE&gt;&amp;nbsp;in the&amp;nbsp;&lt;CODE class=" language-jsl"&gt;&amp;lt;&amp;lt; Save Presentation&lt;/CODE&gt;&amp;nbsp;lines and delete the lines with &lt;CODE class=" language-jsl"&gt;pw&lt;/CODE&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EDIT: the original code left lots of hidden windows called "Output", "Output 2"... sorry.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2025 14:40:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/saving-multiple-reports-into-one-powerpoint/m-p/855559#M102664</guid>
      <dc:creator>matth1</dc:creator>
      <dc:date>2025-03-26T14:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: saving multiple reports into one powerpoint</title>
      <link>https://community.jmp.com/t5/Discussions/saving-multiple-reports-into-one-powerpoint/m-p/855777#M102675</link>
      <description>&lt;P&gt;That's exactly it! Thanks for the solution, this works perfectly :)&lt;/img&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2025 18:35:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/saving-multiple-reports-into-one-powerpoint/m-p/855777#M102675</guid>
      <dc:creator>Tina442</dc:creator>
      <dc:date>2025-03-26T18:35:28Z</dc:date>
    </item>
  </channel>
</rss>

