<?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 start Multiple File Import () vis JSL with Keep Dialog Open unchecked? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/634951#M83307</link>
    <description>&lt;P&gt;Names (strings) of datatables are stored to dt_list so you have to convert them to data table references when using.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
//clear log ();

aa_olddt = Associative Array(Get Data Table List() &amp;lt;&amp;lt; get name);

mfi = Multiple File Import(
	&amp;lt;&amp;lt;Set Folder("$SAMPLE_DATA"),
	&amp;lt;&amp;lt;Set Name Filter("Big*"),
	&amp;lt;&amp;lt;Set Name Enable(1)
);

w = mfi &amp;lt;&amp;lt; Create Window();

checkboxes = (w &amp;lt;&amp;lt; XPath("//CheckBoxBox"));
checkboxes[N Items(checkboxes)] &amp;lt;&amp;lt; Set All(0);

w &amp;lt;&amp;lt; On Close(
	aa_newdt = Associative Array(Get Data Table List() &amp;lt;&amp;lt; get name);
	aa_newdt &amp;lt;&amp;lt; Remove(aa_olddt);
	dt_list = aa_newdt &amp;lt;&amp;lt; get keys;
	Datatable(dt_list[1]) &amp;lt;&amp;lt; Distribution(Column(:Age, :Weight));
);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Depending on your application it might be a good idea to loop over the dt_list (maybe rename it to dtname_list) and create a list of datatable references&lt;/P&gt;</description>
    <pubDate>Wed, 24 May 2023 15:50:40 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2023-05-24T15:50:40Z</dc:date>
    <item>
      <title>How to start Multiple File Import () vis JSL with Keep Dialog Open unchecked?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/634816#M83291</link>
      <description>&lt;P&gt;As the tile says - I have tried the following but does not work&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
// use the save-script-to-script-window button 
// in the MFI dialog to see more messages
// for filtering files and controlling the import
Multiple File Import( Keep Dialog Open (0),
	&amp;lt;&amp;lt;Set Folder( "$DESKTOP" ),
	&amp;lt;&amp;lt;Set Name Filter( "*.csv;" ),
	&amp;lt;&amp;lt;Set Name Enable( 1 )
) &amp;lt;&amp;lt; Create Window;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Where am I going wrong?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 16:10:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/634816#M83291</guid>
      <dc:creator>Neo</dc:creator>
      <dc:date>2023-06-09T16:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to start Multiple File Import () vis JSL with Keep Dialog Open unchecked?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/634825#M83292</link>
      <description>&lt;P&gt;You could navigate to the check box and control it that way&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

mfi = Multiple File Import(
	&amp;lt;&amp;lt;Set Folder("$DESKTOP"),
	&amp;lt;&amp;lt;Set Name Filter("*.csv;"),
	&amp;lt;&amp;lt;Set Name Enable(1)
) &amp;lt;&amp;lt; Create Window;

// Check box with text box saying 'Keep dialog open' is last checkbox
checkboxes = (mfi &amp;lt;&amp;lt; XPath("//CheckBoxBox")); 
checkboxes[N Items(checkboxes)] &amp;lt;&amp;lt; Set(0);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 12:29:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/634825#M83292</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-05-24T12:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to start Multiple File Import () vis JSL with Keep Dialog Open unchecked?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/634831#M83294</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp; Thanks but does not work in JMP 16.2.0 (on Windows 10)&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 13:35:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/634831#M83294</guid>
      <dc:creator>Neo</dc:creator>
      <dc:date>2023-05-24T13:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to start Multiple File Import () vis JSL with Keep Dialog Open unchecked?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/634838#M83295</link>
      <description>&lt;P&gt;Slight modification is needed (and is better for JMP17 also) as JMP17 has different default value change &amp;lt;&amp;lt; Set to &amp;lt;&amp;lt; Set All&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

mfi = Multiple File Import(
	&amp;lt;&amp;lt;Set Folder("$DESKTOP"),
	&amp;lt;&amp;lt;Set Name Filter("*.csv;"),
	&amp;lt;&amp;lt;Set Name Enable(1)
) &amp;lt;&amp;lt; Create Window;

// Check box with text box saying 'Keep dialog open' is last checkbox
checkboxes = (mfi &amp;lt;&amp;lt; XPath("//CheckBoxBox"));
checkboxes[N Items(checkboxes)] &amp;lt;&amp;lt; Set All(0);
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 24 May 2023 12:53:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/634838#M83295</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-05-24T12:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to start Multiple File Import () vis JSL with Keep Dialog Open unchecked?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/634841#M83296</link>
      <description>&lt;P&gt;I ran Jarmo's code on JMP 16.2 on Windows 11 and it ran correctly.&amp;nbsp; I was able to set the Keep Dialog Open checkbox to off or on using&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;checkboxes = (mfi &amp;lt;&amp;lt; XPath("//CheckBoxBox")); 
checkboxes[N Items(checkboxes)] &amp;lt;&amp;lt; Set(0);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;checkboxes = (mfi &amp;lt;&amp;lt; XPath("//CheckBoxBox")); 
checkboxes[N Items(checkboxes)] &amp;lt;&amp;lt; Set(1);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 13:01:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/634841#M83296</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2023-05-24T13:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to start Multiple File Import () vis JSL with Keep Dialog Open unchecked?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/634858#M83298</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp; Your code works for me but I have a connected problem. It appears that the code proceeds without the user pressing the import button. &amp;nbsp; In my case (JMP 16.2 on Win10), the window tilte is shown and the journal window pops up. How to hold progress until the user has pressed the import button.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

mfi = Multiple File Import(
	&amp;lt;&amp;lt;Set Folder("$DESKTOP"),
	&amp;lt;&amp;lt;Set Name Filter("*.csv;"),
	&amp;lt;&amp;lt;Set Name Enable(1)
) &amp;lt;&amp;lt; Create Window;

// Check box with text box saying 'Keep dialog open' is last checkbox
checkboxes = (mfi &amp;lt;&amp;lt; XPath("//CheckBoxBox"));
checkboxes[N Items(checkboxes)] &amp;lt;&amp;lt; Set All(0);

mfi&amp;lt;&amp;lt; Get Window Title(); show (mfi);
jrnW  = New Window( "Report", &amp;lt;&amp;lt; journal); &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 24 May 2023 13:39:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/634858#M83298</guid>
      <dc:creator>Neo</dc:creator>
      <dc:date>2023-05-24T13:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to start Multiple File Import () vis JSL with Keep Dialog Open unchecked?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/634878#M83300</link>
      <description>&lt;P&gt;You might be able to get Multiple File Import inside modal window somehow or you could try using &amp;lt;&amp;lt; On Close&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

mfi = Multiple File Import(
	&amp;lt;&amp;lt;Set Folder("$DESKTOP"),
	&amp;lt;&amp;lt;Set Name Filter("*.csv;"),
	&amp;lt;&amp;lt;Set Name Enable(1)
);
w = mfi &amp;lt;&amp;lt; Create Window;

w &amp;lt;&amp;lt; on close(
	jrnW  = New Window( "Report", &amp;lt;&amp;lt; journal);
);

// Check box with text box saying 'Keep dialog open' is last checkbox
checkboxes = (w &amp;lt;&amp;lt; XPath("//CheckBoxBox"));
checkboxes[N Items(checkboxes)] &amp;lt;&amp;lt; Set All(0);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 24 May 2023 13:49:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/634878#M83300</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-05-24T13:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to start Multiple File Import () vis JSL with Keep Dialog Open unchecked?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/634937#M83302</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp;. Thanks. On Close only appear to work in case of the journal window. Does not work for the following for example.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
mfi = Multiple File Import(
	&amp;lt;&amp;lt;Set Folder("$DESKTOP"),
	&amp;lt;&amp;lt;Set Name Filter("*.csv;"),
	&amp;lt;&amp;lt;Set Name Enable(1)
);
w = mfi &amp;lt;&amp;lt; Create Window;
w &amp;lt;&amp;lt; on close(
	mfi&amp;lt;&amp;lt; Get Window Title(); show (mfi);
);
// Check box with text box saying 'Keep dialog open' is last checkbox
checkboxes = (w &amp;lt;&amp;lt; XPath("//CheckBoxBox"));
checkboxes[N Items(checkboxes)] &amp;lt;&amp;lt; Set All(0);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I need a run a large script after the user selects the files using the Multiple File Import function. The script operates on the selected files. Could I please have the example with&amp;nbsp; Multiple File Import function inside a Modal Window? In this case, how to reference he files opened by&amp;nbsp;Multiple File Import&amp;nbsp; (in my case two files) for further use?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 14:45:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/634937#M83302</guid>
      <dc:creator>Neo</dc:creator>
      <dc:date>2023-05-24T14:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to start Multiple File Import () vis JSL with Keep Dialog Open unchecked?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/634943#M83303</link>
      <description>&lt;P&gt;Most likely it won't work in your case as the mfi has been closed. I would go with On Close route because modal window will most likely mess up the buttons of Multiple File Import&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

aa_olddt = Associative Array(Get Data Table List() &amp;lt;&amp;lt; get name);

mfi = Multiple File Import(
	&amp;lt;&amp;lt;Set Folder("$SAMPLE_DATA"),
	&amp;lt;&amp;lt;Set Name Filter("*.csv;"),
	&amp;lt;&amp;lt;Set Name Enable(1)
);

w = mfi &amp;lt;&amp;lt; Create Window();

checkboxes = (w &amp;lt;&amp;lt; XPath("//CheckBoxBox"));
checkboxes[N Items(checkboxes)] &amp;lt;&amp;lt; Set All(0);

w &amp;lt;&amp;lt; On Close(
	aa_newdt = Associative Array(Get Data Table List() &amp;lt;&amp;lt; get name);
	aa_newdt &amp;lt;&amp;lt; Remove(aa_olddt);
	dt_list = aa_newdt &amp;lt;&amp;lt; get keys;
	Caption(dt_list);
);
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 24 May 2023 15:01:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/634943#M83303</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-05-24T15:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to start Multiple File Import () vis JSL with Keep Dialog Open unchecked?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/634950#M83306</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp;Thanks, but how does one call further scripts (e.g to plot etc) to operate on the data tables imported. The first one below works, but this is not what I need.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
//clear log ();

aa_olddt = Associative Array(Get Data Table List() &amp;lt;&amp;lt; get name);

mfi = Multiple File Import(
	&amp;lt;&amp;lt;Set Folder("$SAMPLE_DATA"),
	&amp;lt;&amp;lt;Set Name Filter("Big*"),
	&amp;lt;&amp;lt;Set Name Enable(1)
);

w = mfi &amp;lt;&amp;lt; Create Window();

checkboxes = (w &amp;lt;&amp;lt; XPath("//CheckBoxBox"));
checkboxes[N Items(checkboxes)] &amp;lt;&amp;lt; Set All(0);

w &amp;lt;&amp;lt; On Close(
	aa_newdt = Associative Array(Get Data Table List() &amp;lt;&amp;lt; get name);
	aa_newdt &amp;lt;&amp;lt; Remove(aa_olddt);
	dt_list = aa_newdt &amp;lt;&amp;lt; get keys;
	show (dt_list);
	dt = dt_list[1]; 
	dt = data table (dt);
	dt&amp;lt;&amp;lt;Distribution( Column( :Age, :Weight ) );
	//include ("plotDist.jsl");
	);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I need to be able to call scripts to operate on the imported data files. One below does not work (gives attached error)&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
//clear log ();

aa_olddt = Associative Array(Get Data Table List() &amp;lt;&amp;lt; get name);

mfi = Multiple File Import(
	&amp;lt;&amp;lt;Set Folder("$SAMPLE_DATA"),
	&amp;lt;&amp;lt;Set Name Filter("Big*"),
	&amp;lt;&amp;lt;Set Name Enable(1)
);

w = mfi &amp;lt;&amp;lt; Create Window();

checkboxes = (w &amp;lt;&amp;lt; XPath("//CheckBoxBox"));
checkboxes[N Items(checkboxes)] &amp;lt;&amp;lt; Set All(0);

w &amp;lt;&amp;lt; On Close(
	aa_newdt = Associative Array(Get Data Table List() &amp;lt;&amp;lt; get name);
	aa_newdt &amp;lt;&amp;lt; Remove(aa_olddt);
	dt_list = aa_newdt &amp;lt;&amp;lt; get keys;
	show (dt_list);
	dt = dt_list[1]; 
	dt = data table (dt);
	//dt&amp;lt;&amp;lt;Distribution( Column( :Age, :Weight ) );
	include ("plotDist.jsl");
	);
	
	//include ("plotDist.jsl");&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;where plotDist.jsl (saved in the same directory) is&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt&amp;lt;&amp;lt;Distribution( Column( :Age, :Weight ) );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Putting&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;include ("plotDist.jsl");&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;outside On Close also does not work. Where am I going wrong?&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 16:06:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/634950#M83306</guid>
      <dc:creator>Neo</dc:creator>
      <dc:date>2023-05-24T16:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to start Multiple File Import () vis JSL with Keep Dialog Open unchecked?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/634951#M83307</link>
      <description>&lt;P&gt;Names (strings) of datatables are stored to dt_list so you have to convert them to data table references when using.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
//clear log ();

aa_olddt = Associative Array(Get Data Table List() &amp;lt;&amp;lt; get name);

mfi = Multiple File Import(
	&amp;lt;&amp;lt;Set Folder("$SAMPLE_DATA"),
	&amp;lt;&amp;lt;Set Name Filter("Big*"),
	&amp;lt;&amp;lt;Set Name Enable(1)
);

w = mfi &amp;lt;&amp;lt; Create Window();

checkboxes = (w &amp;lt;&amp;lt; XPath("//CheckBoxBox"));
checkboxes[N Items(checkboxes)] &amp;lt;&amp;lt; Set All(0);

w &amp;lt;&amp;lt; On Close(
	aa_newdt = Associative Array(Get Data Table List() &amp;lt;&amp;lt; get name);
	aa_newdt &amp;lt;&amp;lt; Remove(aa_olddt);
	dt_list = aa_newdt &amp;lt;&amp;lt; get keys;
	Datatable(dt_list[1]) &amp;lt;&amp;lt; Distribution(Column(:Age, :Weight));
);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Depending on your application it might be a good idea to loop over the dt_list (maybe rename it to dtname_list) and create a list of datatable references&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 15:50:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/634951#M83307</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-05-24T15:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to start Multiple File Import () vis JSL with Keep Dialog Open unchecked?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/634954#M83308</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp;Thanks, but as I have indicated above (posted incorrect code first which I have edited now), how does one include scripts inside On Close() which call on one of more of the imported data tables?&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 16:09:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/634954#M83308</guid>
      <dc:creator>Neo</dc:creator>
      <dc:date>2023-05-24T16:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to start Multiple File Import () vis JSL with Keep Dialog Open unchecked?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/634956#M83309</link>
      <description>&lt;P&gt;You would loop over your list of data tables and perform the actions. Depending on what you are doing you could build expressions or functions which could then be called inside the loop.&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 16:10:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/634956#M83309</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-05-24T16:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to start Multiple File Import () vis JSL with Keep Dialog Open unchecked?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/634975#M83311</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp;Ok I will try to loop, but where does the loop go - inside On Close () or outside On Close (). Also what does the attached error message mean?&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 16:37:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/634975#M83311</guid>
      <dc:creator>Neo</dc:creator>
      <dc:date>2023-05-24T16:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to start Multiple File Import () vis JSL with Keep Dialog Open unchecked?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/634991#M83313</link>
      <description>&lt;P&gt;Whatever you want to happen after Multiple File Import has been closed, should happen inside On Close. You can make it a bit cleaner by creating functions and expressions outside the On close but then call them inside.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It might be a good idea to accept solution to this post as it has already been solved and post a new one with additional information on what you wish to do after.&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 16:52:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/634991#M83313</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-05-24T16:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to start Multiple File Import () vis JSL with Keep Dialog Open unchecked?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/635201#M83336</link>
      <description>&lt;P&gt;Example for the &lt;STRONG&gt;&lt;EM&gt;Import Callback&lt;/EM&gt;&lt;/STRONG&gt; script&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;x=Multiple File Import(
	&amp;lt;&amp;lt;Set Folder( "C:\Users\v1\Documents\" ),
	&amp;lt;&amp;lt;Set Name Filter( "*.csv; *.txt; " ),
	&amp;lt;&amp;lt;Set Name Enable( 1 ),
	&amp;lt;&amp;lt;Set Import Callback( function({mfi,list},show(list, mfi&amp;lt;&amp;lt;GetFolder);x&amp;lt;&amp;lt;closewindow) )
) &amp;lt;&amp;lt; createwindow;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This script runs when the import button finishes; you might need the list of data tables.&lt;/P&gt;
&lt;P&gt;You might send MFI a command to &amp;lt;&amp;lt;get a parameter the user specified.&lt;/P&gt;
&lt;P&gt;x&amp;lt;&amp;lt;closewindow will force the window to close, ignoring the check box.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Extra info:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;&amp;lt;createwindow starts the mfi platform interactively with the setup provided; the &amp;lt;&amp;lt;CreateWindow message puts the created window in the X variable. If you use the &amp;lt;&amp;lt;ImportData message instead, x will hold the data table list. If you don't use a message, x will hold the scriptable platform, which you can send messages like &amp;lt;&amp;lt;SetFolder and &amp;lt;&amp;lt;CreateWindow to.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The setup messages are &lt;EM&gt;inside&lt;/EM&gt; the parens for the mfi launch and happen before the window opens; the launch returns an MFI object which the CreateWindow message is sent to; the result from CreateWindow is assigned to x.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 00:37:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/635201#M83336</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2023-05-25T00:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to start Multiple File Import () vis JSL with Keep Dialog Open unchecked?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/635282#M83344</link>
      <description>&lt;P&gt;Nice info&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/982"&gt;@Craige_Hales&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;
&lt;P&gt;Scripting index (or rather JMP/JSL documentation) strikes again :(&lt;/img&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1684994302153.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/53102i02A461AC307706C1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1684994302153.png" alt="jthi_0-1684994302153.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 06:00:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/635282#M83344</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-05-25T06:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to start Multiple File Import () vis JSL with Keep Dialog Open unchecked?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/635361#M83353</link>
      <description>My fault, I'm afraid. I already sent a note to the technical team. It was added after the initial release, for exactly this purpose.</description>
      <pubDate>Thu, 25 May 2023 09:49:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-start-Multiple-File-Import-vis-JSL-with-Keep-Dialog-Open/m-p/635361#M83353</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2023-05-25T09:49:58Z</dc:date>
    </item>
  </channel>
</rss>

