<?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 do I assign file folder path when I open file explore? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-I-assign-file-folder-path-when-I-open-file-explore/m-p/779241#M96042</link>
    <description>&lt;P&gt;Scripting Index has sometimes very good examples&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1722839051200.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/66827i9918F04EB88886B6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1722839051200.png" alt="jthi_0-1722839051200.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In this case if you want it to open on Desktop, you can use $DESKTOP path variable&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

New Window("File explore",
	&amp;lt;&amp;lt;modal,
	Spacer Box(size(20, 10)),
	Text Box("Choose a log.txt file:"),
	BB1 = Button Box("Pick file",
		D = Pick File("Select file", "$DESKTOP");
		If(D != "",
			file1 &amp;lt;&amp;lt; set text(D)
		);
	),
	file1 = Text Box(), 

);
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 05 Aug 2024 06:24:46 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2024-08-05T06:24:46Z</dc:date>
    <item>
      <title>How do I assign file folder path when I open file explore?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-assign-file-folder-path-when-I-open-file-explore/m-p/779228#M96041</link>
      <description>&lt;P&gt;Hi expert,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to write a jsl to query user to assign a file to import. It's always open the same folder as my jsl file. I would like to open desktop when pop up the file explore. Can I do that?&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

New Window( "File explore",
	&amp;lt;&amp;lt;modal,
	Spacer Box( size( 20, 10 ) ),
	Text Box( "Choose a log.txt file:" ),
	BB1 = Button Box( "Pick file",
		D = Pick File();
		If( D != "",
			file1 &amp;lt;&amp;lt; set text( D )
		);
	),
	file1 = Text Box( ), 

);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 05 Aug 2024 06:17:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-assign-file-folder-path-when-I-open-file-explore/m-p/779228#M96041</guid>
      <dc:creator>Victor3</dc:creator>
      <dc:date>2024-08-05T06:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do I assign file folder path when I open file explore?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-assign-file-folder-path-when-I-open-file-explore/m-p/779241#M96042</link>
      <description>&lt;P&gt;Scripting Index has sometimes very good examples&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1722839051200.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/66827i9918F04EB88886B6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1722839051200.png" alt="jthi_0-1722839051200.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;In this case if you want it to open on Desktop, you can use $DESKTOP path variable&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

New Window("File explore",
	&amp;lt;&amp;lt;modal,
	Spacer Box(size(20, 10)),
	Text Box("Choose a log.txt file:"),
	BB1 = Button Box("Pick file",
		D = Pick File("Select file", "$DESKTOP");
		If(D != "",
			file1 &amp;lt;&amp;lt; set text(D)
		);
	),
	file1 = Text Box(), 

);
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 05 Aug 2024 06:24:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-assign-file-folder-path-when-I-open-file-explore/m-p/779241#M96042</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-08-05T06:24:46Z</dc:date>
    </item>
  </channel>
</rss>

