<?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: Saving the file path of a user prompted Open() command in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Saving-the-file-path-of-a-user-prompted-Open-command/m-p/809459#M98985</link>
    <description>&lt;P&gt;Using the Open() function with a file name will use the relative path. The default path can be found by call Get Default Directory().&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="default.png" style="width: 995px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69747i6D5A4F2DEFCB2C90/image-size/large?v=v2&amp;amp;px=999" role="button" title="default.png" alt="default.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 01 Nov 2024 17:56:24 GMT</pubDate>
    <dc:creator>Mark_Bailey</dc:creator>
    <dc:date>2024-11-01T17:56:24Z</dc:date>
    <item>
      <title>Saving the file path of a user prompted Open() command</title>
      <link>https://community.jmp.com/t5/Discussions/Saving-the-file-path-of-a-user-prompted-Open-command/m-p/809456#M98983</link>
      <description>&lt;P&gt;I'm prompting the user to open a file via this script command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Open() &amp;lt;&amp;lt; Set Name( "results.jmp")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I capture the file path of the file that the user chose to open?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 17:24:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Saving-the-file-path-of-a-user-prompted-Open-command/m-p/809456#M98983</guid>
      <dc:creator>bgolob</dc:creator>
      <dc:date>2024-11-01T17:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: Saving the file path of a user prompted Open() command</title>
      <link>https://community.jmp.com/t5/Discussions/Saving-the-file-path-of-a-user-prompted-Open-command/m-p/809459#M98985</link>
      <description>&lt;P&gt;Using the Open() function with a file name will use the relative path. The default path can be found by call Get Default Directory().&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="default.png" style="width: 995px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69747i6D5A4F2DEFCB2C90/image-size/large?v=v2&amp;amp;px=999" role="button" title="default.png" alt="default.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 17:56:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Saving-the-file-path-of-a-user-prompted-Open-command/m-p/809459#M98985</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2024-11-01T17:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Saving the file path of a user prompted Open() command</title>
      <link>https://community.jmp.com/t5/Discussions/Saving-the-file-path-of-a-user-prompted-Open-command/m-p/809462#M98988</link>
      <description>&lt;P&gt;I would use the Pick File() function for this.&amp;nbsp; You can restrict the file type and easily get the filepath.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
thepath = Pick File( "Choose the JMP table", "", {"JMP Data Table|jmp"} );
If( thepath != "",
	Open( thepath ) &amp;lt;&amp;lt; Set Name( "results.jmp" )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 Nov 2024 18:15:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Saving-the-file-path-of-a-user-prompted-Open-command/m-p/809462#M98988</guid>
      <dc:creator>mmarchandFSLR</dc:creator>
      <dc:date>2024-11-01T18:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Saving the file path of a user prompted Open() command</title>
      <link>https://community.jmp.com/t5/Discussions/Saving-the-file-path-of-a-user-prompted-Open-command/m-p/809474#M98993</link>
      <description>&lt;P&gt;This is the solution that worked for me.&amp;nbsp; Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 21:20:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Saving-the-file-path-of-a-user-prompted-Open-command/m-p/809474#M98993</guid>
      <dc:creator>bgolob</dc:creator>
      <dc:date>2024-11-01T21:20:21Z</dc:date>
    </item>
  </channel>
</rss>

