<?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 JSL Retrieve path after Open | Pick File in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JSL-Retrieve-path-after-Open-Pick-File/m-p/171694#M40125</link>
    <description>&lt;P&gt;I'm creating an interface for coworkers to use so they can start a reasonable directory and then navigate to a specific location where their data files exist and open them.&amp;nbsp; I want to save just the path they navigated to for future use in the JSL code.&amp;nbsp; I can't seem to figure out how to accomplish this though.&amp;nbsp; Any suggestions would be greatly appreciated.&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 );

Set Path Variable( "dir_rawdata", "C:\" );

dt = Open(
	Pick File( "Select Data File ", "$dir_rawdata/", {"CSV Files|csv", "All Files|*"} ),
	Import Settings(
		End Of Line( CRLF, CR, LF ),
		End Of Field( Comma, CSV( 1 ) ),
		Strip Quotes( 1 ),
		Use Apostrophe as Quotation Mark( 0 ),
		Scan Whole File( 1 ),
		Treat empty columns as numeric( 0 ),
		CompressNumericColumns( 0 ),
		CompressCharacterColumns( 0 ),
		CompressAllowListCheck( 0 ),
		Labels( 1 ),
		Column Names Start( 2 ),
		Data Starts( 3 ),
		Lines To Read( "All" ),
		Year Rule( "20xx" )
	)
);			
	&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Feb 2019 20:26:27 GMT</pubDate>
    <dc:creator>terapin</dc:creator>
    <dc:date>2019-02-25T20:26:27Z</dc:date>
    <item>
      <title>JSL Retrieve path after Open | Pick File</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-Retrieve-path-after-Open-Pick-File/m-p/171694#M40125</link>
      <description>&lt;P&gt;I'm creating an interface for coworkers to use so they can start a reasonable directory and then navigate to a specific location where their data files exist and open them.&amp;nbsp; I want to save just the path they navigated to for future use in the JSL code.&amp;nbsp; I can't seem to figure out how to accomplish this though.&amp;nbsp; Any suggestions would be greatly appreciated.&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 );

Set Path Variable( "dir_rawdata", "C:\" );

dt = Open(
	Pick File( "Select Data File ", "$dir_rawdata/", {"CSV Files|csv", "All Files|*"} ),
	Import Settings(
		End Of Line( CRLF, CR, LF ),
		End Of Field( Comma, CSV( 1 ) ),
		Strip Quotes( 1 ),
		Use Apostrophe as Quotation Mark( 0 ),
		Scan Whole File( 1 ),
		Treat empty columns as numeric( 0 ),
		CompressNumericColumns( 0 ),
		CompressCharacterColumns( 0 ),
		CompressAllowListCheck( 0 ),
		Labels( 1 ),
		Column Names Start( 2 ),
		Data Starts( 3 ),
		Lines To Read( "All" ),
		Year Rule( "20xx" )
	)
);			
	&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 20:26:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-Retrieve-path-after-Open-Pick-File/m-p/171694#M40125</guid>
      <dc:creator>terapin</dc:creator>
      <dc:date>2019-02-25T20:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: JSL Retrieve path after Open | Pick File</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-Retrieve-path-after-Open-Pick-File/m-p/171743#M40126</link>
      <description>&lt;P&gt;Save the result returned by Pick File in a variable. You can use various character string functions to obtain the path from this string.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 20:54:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-Retrieve-path-after-Open-Pick-File/m-p/171743#M40126</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2019-02-25T20:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: JSL Retrieve path after Open | Pick File</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-Retrieve-path-after-Open-Pick-File/m-p/174959#M40155</link>
      <description>&lt;P&gt;Thanks Mark,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll try what you suggested.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 19:51:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-Retrieve-path-after-Open-Pick-File/m-p/174959#M40155</guid>
      <dc:creator>terapin</dc:creator>
      <dc:date>2019-02-26T19:51:10Z</dc:date>
    </item>
  </channel>
</rss>

