<?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 with filename in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Saving-with-filename/m-p/34359#M20362</link>
    <description>&lt;P&gt;If you have opened your data table using the variable "dt" as the handle pointing to the data table, then you can get the name of the data table with the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; filename = dt &amp;lt;&amp;lt; get name;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This, and all other items you can ask for from the data table is documented at:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Help==&amp;gt;Scripting Index==&amp;gt;Data Table&lt;/P&gt;</description>
    <pubDate>Wed, 11 Jan 2017 20:06:12 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2017-01-11T20:06:12Z</dc:date>
    <item>
      <title>Saving with filename</title>
      <link>https://community.jmp.com/t5/Discussions/Saving-with-filename/m-p/34358#M20361</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can i save with the filename attached to my .png graph? I want my script to take the filename of the graph I am opening and save it in the folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;lt;&amp;lt;save picture ("C:\...path..\ex1.png","png"); &amp;nbsp;This is what I have right now.&lt;/P&gt;&lt;P&gt;Instead of ex1, is there a way to get the filename automatically?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 17:46:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Saving-with-filename/m-p/34358#M20361</guid>
      <dc:creator>vishwasanj</dc:creator>
      <dc:date>2017-01-11T17:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: Saving with filename</title>
      <link>https://community.jmp.com/t5/Discussions/Saving-with-filename/m-p/34359#M20362</link>
      <description>&lt;P&gt;If you have opened your data table using the variable "dt" as the handle pointing to the data table, then you can get the name of the data table with the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; filename = dt &amp;lt;&amp;lt; get name;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This, and all other items you can ask for from the data table is documented at:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Help==&amp;gt;Scripting Index==&amp;gt;Data Table&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 20:06:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Saving-with-filename/m-p/34359#M20362</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-01-11T20:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Saving with filename</title>
      <link>https://community.jmp.com/t5/Discussions/Saving-with-filename/m-p/34360#M20363</link>
      <description>I am not exactly sure what you mean by opening a png graph . However , you can do something like this :&lt;BR /&gt;FilesList = Files In Directory(Your File Path) ; // This should give you list of all the files in the directory&lt;BR /&gt;for(i = 1 , i &amp;lt;= N Items(FilesList) , i++,&lt;BR /&gt;FileName = FilesList[i];&lt;BR /&gt;) ;&lt;BR /&gt;Now you have in FileName , the name of the file which you can use to append to your destination while saving&lt;BR /&gt;&lt;BR /&gt;Best&lt;BR /&gt;Uday&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Jan 2017 17:54:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Saving-with-filename/m-p/34360#M20363</guid>
      <dc:creator>uday_guntupalli</dc:creator>
      <dc:date>2017-01-11T17:54:41Z</dc:date>
    </item>
  </channel>
</rss>

