<?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: Creating multiple graphs from a JMP file stored in SharePoint leaves modal window open in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Creating-multiple-graphs-from-a-JMP-file-stored-in-SharePoint/m-p/482821#M72715</link>
    <description>&lt;P&gt;I added your script.&amp;nbsp; The window still shows up after the script is run.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I figured out that these 2 windows open after the wb&amp;lt;&amp;lt; Navigate OR Web(" statements.&lt;/P&gt;&lt;P&gt;I have attached a screenshot of the windows that are left open.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Apr 2022 15:35:29 GMT</pubDate>
    <dc:creator>Onjai</dc:creator>
    <dc:date>2022-04-28T15:35:29Z</dc:date>
    <item>
      <title>Creating multiple graphs from a JMP file stored in SharePoint leaves modal window open</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-multiple-graphs-from-a-JMP-file-stored-in-SharePoint/m-p/464463#M70900</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I have multiple files (Excel and JMP) stored in SharePoint and this script will open the JMP file and create graphs, copy to a Journal and save as a .doc file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything works fine except for a Windows modal that I cannot seem to close using JSL.&lt;/P&gt;&lt;P&gt;Anyone have suggestions?&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;Onjai&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using JMP 16.1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;//save blood pressure.jmp file to SharePoint
//In SharePoint, click on the jmp file and select "copy link"
//for the Sharepoint PATH you need to remove all characters after "...../Blood%20Pressure.jmp?"
//for the SharePoint FILE you need to ADD "download=1" after "...../Blood%20Pressure.jmp?"

Names Default To Here( 1 );

Batch Interactive = (1);
Web("&amp;lt;&amp;lt;LINK&amp;gt;&amp;gt;",JMP Window);
dt=Open("&amp;lt;&amp;lt;LINK&amp;gt;&amp;gt;");
// Setup an Example Data table
dataCols = dt &amp;lt;&amp;lt; get column names( continuous );
dt:Dose &amp;lt;&amp;lt; set name( "WhichTest" );
dt &amp;lt;&amp;lt; set name( "Filtered_raw" );
// Run the charts
OWA = Data Table( "Filtered_raw" ) &amp;lt;&amp;lt; Oneway(
	Y( Eval( dataCols ) ),
	X( "WhichTest" ),
	Each Pair( 0 ),
	Means( 0 ),
	Plot Actual by Quantile( 0 ),
	Plot Quantile by Actual( 1 ),
	Mean Diamonds( 1 )
);
// Create a journal containing each Oneway
OWA &amp;lt;&amp;lt; Journal;
// Obtain a reference to the journal
jj = Current Journal();
// Save the journal to disk
jj &amp;lt;&amp;lt; Save MSWord( "$DOCUMENTS\Oneway_normalQ.doc" );
jj &amp;lt;&amp;lt; Close Window;
Close (dt, No Save);
Window( "Web Browser" ) &amp;lt;&amp;lt; close window;	//closes JMP web window
Batch Interactive = (0)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 18:11:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-multiple-graphs-from-a-JMP-file-stored-in-SharePoint/m-p/464463#M70900</guid>
      <dc:creator>Onjai</dc:creator>
      <dc:date>2023-06-09T18:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: Creating multiple graphs from a JMP file stored in SharePoint leaves modal window open</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-multiple-graphs-from-a-JMP-file-stored-in-SharePoint/m-p/477660#M72197</link>
      <description>&lt;P&gt;What's the example of the Windows modal window? Is it just the window with the sharepoint site?&lt;/P&gt;&lt;P&gt;I have a similar setup where I need to grab a table from an excel spreadsheet on a sharepoint site. Once I'm done with everything, I just close the variable for the window. I hope this helps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;wbcheck = New Window("Web Check", wb = Web Browser Box() );
wb &amp;lt;&amp;lt; Navigate("link to the sharepoint folder that the file is located");
wbcheck &amp;lt;&amp;lt; Show Window(0); //for me, I like to hide this window from the user not necessary if you want them to see it
Wait(3); //I wait because sometimes it doesn't load properly

Open("link to the actual file with download=1")&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 08 Apr 2022 21:42:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-multiple-graphs-from-a-JMP-file-stored-in-SharePoint/m-p/477660#M72197</guid>
      <dc:creator>svarga</dc:creator>
      <dc:date>2022-04-08T21:42:08Z</dc:date>
    </item>
    <item>
      <title>Re: Creating multiple graphs from a JMP file stored in SharePoint leaves modal window open</title>
      <link>https://community.jmp.com/t5/Discussions/Creating-multiple-graphs-from-a-JMP-file-stored-in-SharePoint/m-p/482821#M72715</link>
      <description>&lt;P&gt;I added your script.&amp;nbsp; The window still shows up after the script is run.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I figured out that these 2 windows open after the wb&amp;lt;&amp;lt; Navigate OR Web(" statements.&lt;/P&gt;&lt;P&gt;I have attached a screenshot of the windows that are left open.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 15:35:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Creating-multiple-graphs-from-a-JMP-file-stored-in-SharePoint/m-p/482821#M72715</guid>
      <dc:creator>Onjai</dc:creator>
      <dc:date>2022-04-28T15:35:29Z</dc:date>
    </item>
  </channel>
</rss>

