<?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 How do I have export default to folder that I opened in? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-I-have-export-default-to-folder-that-I-opened-in/m-p/651217#M84204</link>
    <description>&lt;P&gt;I have a .jmp file, make some changes, and then wish to export to a .csv file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I do so, the save as folder defaults to (I think) the last folder that I'd saved to. I'd like it to default to the folder containing the jmp file that I opened. I'd also be happy for it to default, more generally, to the last folder that a file was opened from, rather than the last folder a file was saved to.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to set this preference somewhere? I've looked, but haven't found.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm on a mac, and using JMP 16 and JMP 17.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 23 Jun 2023 11:56:48 GMT</pubDate>
    <dc:creator>JPM1</dc:creator>
    <dc:date>2023-06-23T11:56:48Z</dc:date>
    <item>
      <title>How do I have export default to folder that I opened in?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-have-export-default-to-folder-that-I-opened-in/m-p/651217#M84204</link>
      <description>&lt;P&gt;I have a .jmp file, make some changes, and then wish to export to a .csv file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I do so, the save as folder defaults to (I think) the last folder that I'd saved to. I'd like it to default to the folder containing the jmp file that I opened. I'd also be happy for it to default, more generally, to the last folder that a file was opened from, rather than the last folder a file was saved to.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to set this preference somewhere? I've looked, but haven't found.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm on a mac, and using JMP 16 and JMP 17.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 11:56:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-have-export-default-to-folder-that-I-opened-in/m-p/651217#M84204</guid>
      <dc:creator>JPM1</dc:creator>
      <dc:date>2023-06-23T11:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do I have export default to folder that I opened in?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-have-export-default-to-folder-that-I-opened-in/m-p/652353#M84234</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am not 100% sure that this will work on a Mac, but on a Windows system, it works well.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Define your data table (Open (), Pick (), Data Table ())&lt;/LI&gt;
&lt;LI&gt;Capture the path and name with the data table: path = dt &amp;lt;&amp;lt; Get Path; dt_name = dt &amp;lt;&amp;lt; Get Name;&lt;/LI&gt;
&lt;LI&gt;Use the path to define the target folder: dt_csv &amp;lt;&amp;lt; Save (Substitute (lc_path, dt_name || ".jmp", "CSV_TABLE_NAME") );&lt;/LI&gt;
&lt;/OL&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default from Here (1);

dt = data table ("Original_table");
dt_name = dt &amp;lt;&amp;lt; Get Name;
dt_path = dt &amp;lt;&amp;lt; Get Path;

// DO SOMETHING YIELDING the NEW dt_csv//

dt_csv &amp;lt;&amp;lt; Save (Substitute (dt_path, dt_name || ".jmp", "NEW NAME));

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Note: the exact syntax may need to be modified to match the output of the Mac OS file system.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;TS&lt;/P&gt;</description>
      <pubDate>Sun, 25 Jun 2023 04:42:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-have-export-default-to-folder-that-I-opened-in/m-p/652353#M84234</guid>
      <dc:creator>Thierry_S</dc:creator>
      <dc:date>2023-06-25T04:42:05Z</dc:date>
    </item>
  </channel>
</rss>

