<?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 Open data tables from file dialog in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Open-data-tables-from-file-dialog/m-p/4063#M4063</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a file open dialog box where I can select several files and have it return a list of files for my JSL script to operate on?&amp;nbsp; I would prefer to have the standard Windows one that one sees when they press File &amp;gt; Open in JMP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit:&amp;nbsp; 'Pick File' is the command I was looking for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Dec 2011 20:08:12 GMT</pubDate>
    <dc:creator>kca</dc:creator>
    <dc:date>2011-12-01T20:08:12Z</dc:date>
    <item>
      <title>Open data tables from file dialog</title>
      <link>https://community.jmp.com/t5/Discussions/Open-data-tables-from-file-dialog/m-p/4063#M4063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a file open dialog box where I can select several files and have it return a list of files for my JSL script to operate on?&amp;nbsp; I would prefer to have the standard Windows one that one sees when they press File &amp;gt; Open in JMP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit:&amp;nbsp; 'Pick File' is the command I was looking for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2011 20:08:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-data-tables-from-file-dialog/m-p/4063#M4063</guid>
      <dc:creator>kca</dc:creator>
      <dc:date>2011-12-01T20:08:12Z</dc:date>
    </item>
    <item>
      <title>Open data tables from file dialog</title>
      <link>https://community.jmp.com/t5/Discussions/Open-data-tables-from-file-dialog/m-p/4064#M4064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The dialog that comes up when running Open(), or Pick File(), looks exactly like a standard File &amp;gt; Open dialog (at least in JMP 9 on the Mac) but it seems to be limited. In contrast to the standard open-dialog only one file can be selected in the open-dialog called from JSL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Mac OS X I haven't found a way to open the standard dialog from script, but it may be possible on Windows where JMP can call dll-files. I am not of much help in that area but there som amazing examples in other threads of what can be done via dll.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you would find a way to do that, the code below can be used to get a list of the names of the last opened data tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Courier;"&gt;nr_of_already_open_tables &lt;SPAN style="color: #150097;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #2600eb;"&gt;N Table&lt;/SPAN&gt;&lt;SPAN style="color: #150097;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Courier; color: #009800;"&gt;&lt;SPAN style="color: #2600eb;"&gt;Open&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #150097;"&gt;;&lt;/SPAN&gt;// some clever dll funcion or similar&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Courier;"&gt;last_opened_tables &lt;SPAN style="color: #150097;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #2600eb;"&gt;Local&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;STRONG&gt;{&lt;/STRONG&gt;i&lt;SPAN style="color: #150097;"&gt;,&lt;/SPAN&gt; d &lt;SPAN style="color: #150097;"&gt;=&lt;/SPAN&gt; &lt;STRONG&gt;{}}&lt;/STRONG&gt;&lt;SPAN style="color: #150097;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #2600eb;"&gt;For&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; i &lt;SPAN style="color: #150097;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #009694;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #150097;"&gt;,&lt;/SPAN&gt; i &lt;SPAN style="color: #150097;"&gt;&amp;lt;=&lt;/SPAN&gt; &lt;SPAN style="color: #2600eb;"&gt;N Table&lt;/SPAN&gt;&lt;STRONG&gt;()&lt;/STRONG&gt; &lt;SPAN style="color: #150097;"&gt;-&lt;/SPAN&gt; nr_of_already_open_tables&lt;SPAN style="color: #150097;"&gt;,&lt;/SPAN&gt; i&lt;SPAN style="color: #150097;"&gt;++,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;d&lt;STRONG&gt;[&lt;/STRONG&gt;i&lt;STRONG&gt;]&lt;/STRONG&gt; &lt;SPAN style="color: #150097;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color: #2600eb;"&gt;Data Table&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; i &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;SPAN style="color: #150097;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; GetName&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #150097;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;d&lt;SPAN style="color: #150097;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Courier;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;SPAN style="color: #150097;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #150097;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2011 21:29:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-data-tables-from-file-dialog/m-p/4064#M4064</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2011-12-01T21:29:06Z</dc:date>
    </item>
    <item>
      <title>Open data tables from file dialog</title>
      <link>https://community.jmp.com/t5/Discussions/Open-data-tables-from-file-dialog/m-p/4065#M4065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks, MS.&amp;nbsp; You are right that even on Windows I can only select a single file.&amp;nbsp; However, it turned out that is all the functionality I need.&amp;nbsp;&amp;nbsp; Your code snipet did come in quite handy after that!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 16:27:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Open-data-tables-from-file-dialog/m-p/4065#M4065</guid>
      <dc:creator>kca</dc:creator>
      <dc:date>2011-12-02T16:27:38Z</dc:date>
    </item>
  </channel>
</rss>

