<?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 Correct argument to limit open() to jmpaddin files in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Correct-argument-to-limit-open-to-jmpaddin-files/m-p/363214#M61295</link>
    <description>&lt;P&gt;The JMP syntax reference says that&amp;nbsp; open() can be limited to different file types.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;File Type An optional string that specifies the type of file that you are opening (for&lt;BR /&gt;example, "text", "journal", "sas", "script", "png", and "jmp"). This can be useful if your file&lt;BR /&gt;does not have a file extension, the file extension of the file does not match the contents of&lt;BR /&gt;the file, or you want to import a JSL BLOB. If you do not specify this string, the file opens&lt;BR /&gt;in the default program for the file extension.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know the correct argument to limit this to add-in files?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 22:06:58 GMT</pubDate>
    <dc:creator>johnmoore</dc:creator>
    <dc:date>2023-06-09T22:06:58Z</dc:date>
    <item>
      <title>Correct argument to limit open() to jmpaddin files</title>
      <link>https://community.jmp.com/t5/Discussions/Correct-argument-to-limit-open-to-jmpaddin-files/m-p/363214#M61295</link>
      <description>&lt;P&gt;The JMP syntax reference says that&amp;nbsp; open() can be limited to different file types.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;File Type An optional string that specifies the type of file that you are opening (for&lt;BR /&gt;example, "text", "journal", "sas", "script", "png", and "jmp"). This can be useful if your file&lt;BR /&gt;does not have a file extension, the file extension of the file does not match the contents of&lt;BR /&gt;the file, or you want to import a JSL BLOB. If you do not specify this string, the file opens&lt;BR /&gt;in the default program for the file extension.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know the correct argument to limit this to add-in files?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 22:06:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Correct-argument-to-limit-open-to-jmpaddin-files/m-p/363214#M61295</guid>
      <dc:creator>johnmoore</dc:creator>
      <dc:date>2023-06-09T22:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Correct argument to limit open() to jmpaddin files</title>
      <link>https://community.jmp.com/t5/Discussions/Correct-argument-to-limit-open-to-jmpaddin-files/m-p/363275#M61297</link>
      <description>&lt;P&gt;Adding the File Type as an argument on the Open() function does not "limit" the type of files to be displayed.&amp;nbsp; It is used to indicate what type of file is being referenced if there is not a file extension on the referenced file.&lt;/P&gt;
&lt;P&gt;There also appears to be only a specific range of values it can have, and "jmpaddin" does not appear to be one of them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to limit users to being able to select only .addins I suggest that you use a Pick File() function to select the file to be opened, and then pass the result of the Pick File() and pass it to the Open() function&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 17:28:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Correct-argument-to-limit-open-to-jmpaddin-files/m-p/363275#M61297</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-02-26T17:28:23Z</dc:date>
    </item>
  </channel>
</rss>

