<?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 Re: How to loop images to append and save in ppt slides with different outline box title? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-loop-images-to-append-and-save-in-ppt-slides-with/m-p/725681#M91043</link>
    <description>&lt;P&gt;Here is a simple example using JMP 15 syntax&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

dt = 
// Open Data Table: semiconductor capability.jmp
// → Data Table( "semiconductor capability" )
Open( "$SAMPLE_DATA/semiconductor capability.jmp" );

// Get a list of all of the parameter columns
colList = dt &amp;lt;&amp;lt; get column names( continuous, string );

// Use only the first 10 columns for this example
Remove From( colList, 11, Length( colList ) - 10 );

// Create a Journal to be used for the creation of the .ppt
jr = New Window( "The Journal", &amp;lt;&amp;lt;journal, vlb = V List Box() );

// Loop across the columns and create the Variability Charts and 
// place them into the journal with new names
For( i = 1, i &amp;lt;= Length( colList ), i++,
	vc = Variability Chart( invisible,
		Y( Column( colList[i] ) ),
		X( :wafer ),
		Model( "Main Effect" ),
		Std Dev Chart( 0 )
	);
	Report( vc )[Outline Box( 2 )] &amp;lt;&amp;lt; set title( colList[i] );
	vlb &amp;lt;&amp;lt; append( Report( vc )[Outline Box( 2 )] );
	vc &amp;lt;&amp;lt; close window;
);

// Save the journal to a PowerPoint
jr &amp;lt;&amp;lt; Save Presentation( "$TEMP/jmp_example.pptx" );

// Close the Journal
jr &amp;lt;&amp;lt; close window;

// Open the PowerPoint document
Open( "$TEMP/jmp_example.pptx" );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1709102439460.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/61613i7E896E0AC1D9E55B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_0-1709102439460.png" alt="txnelson_0-1709102439460.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Feb 2024 06:40:53 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2024-02-28T06:40:53Z</dc:date>
    <item>
      <title>How to loop images to append and save in ppt slides with different outline box title?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-loop-images-to-append-and-save-in-ppt-slides-with/m-p/725678#M91042</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a function for variability plots with different parameters. My question is, can I append the images and save them as PowerPoint slides with their respective names in the outline box? I am currently doing this individually and is running this on JMP 15&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 04:34:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-loop-images-to-append-and-save-in-ppt-slides-with/m-p/725678#M91042</guid>
      <dc:creator>UserID16644</dc:creator>
      <dc:date>2024-02-28T04:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to loop images to append and save in ppt slides with different outline box title?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-loop-images-to-append-and-save-in-ppt-slides-with/m-p/725681#M91043</link>
      <description>&lt;P&gt;Here is a simple example using JMP 15 syntax&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

dt = 
// Open Data Table: semiconductor capability.jmp
// → Data Table( "semiconductor capability" )
Open( "$SAMPLE_DATA/semiconductor capability.jmp" );

// Get a list of all of the parameter columns
colList = dt &amp;lt;&amp;lt; get column names( continuous, string );

// Use only the first 10 columns for this example
Remove From( colList, 11, Length( colList ) - 10 );

// Create a Journal to be used for the creation of the .ppt
jr = New Window( "The Journal", &amp;lt;&amp;lt;journal, vlb = V List Box() );

// Loop across the columns and create the Variability Charts and 
// place them into the journal with new names
For( i = 1, i &amp;lt;= Length( colList ), i++,
	vc = Variability Chart( invisible,
		Y( Column( colList[i] ) ),
		X( :wafer ),
		Model( "Main Effect" ),
		Std Dev Chart( 0 )
	);
	Report( vc )[Outline Box( 2 )] &amp;lt;&amp;lt; set title( colList[i] );
	vlb &amp;lt;&amp;lt; append( Report( vc )[Outline Box( 2 )] );
	vc &amp;lt;&amp;lt; close window;
);

// Save the journal to a PowerPoint
jr &amp;lt;&amp;lt; Save Presentation( "$TEMP/jmp_example.pptx" );

// Close the Journal
jr &amp;lt;&amp;lt; close window;

// Open the PowerPoint document
Open( "$TEMP/jmp_example.pptx" );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1709102439460.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/61613i7E896E0AC1D9E55B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_0-1709102439460.png" alt="txnelson_0-1709102439460.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 06:40:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-loop-images-to-append-and-save-in-ppt-slides-with/m-p/725681#M91043</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2024-02-28T06:40:53Z</dc:date>
    </item>
  </channel>
</rss>

