<?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: Help with JSL file run method in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Help-with-JSL-file-run-method/m-p/430210#M67989</link>
    <description>&lt;P&gt;Yes for sure, or you could save your script in a single place and have it ask you what directory to analyze.&amp;nbsp;&amp;nbsp;&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);

// Get either the current directory or ask the user to pick a directory
DirectoryToSearch = Get Default Directory();
DirectoryToSearch = Pick Directory();

// Files in that directory
FileList = Files In Directory( DirectoryToSearch );

// Filter only for specific files

//  First a function to determine if file should be included
IsFileToAnalyze = function({f}, contains(f, "Output") &amp;amp; (Right(f, 4) == "xlsx" ));

// Find files to analyze - filter each works in JMP 16 or newer
FilesListToAnalyze = filter each( {f}, FileList, IsFileToAnalyze(f) );
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 25 Oct 2021 18:45:44 GMT</pubDate>
    <dc:creator>ih</dc:creator>
    <dc:date>2021-10-25T18:45:44Z</dc:date>
    <item>
      <title>Help with JSL file run method</title>
      <link>https://community.jmp.com/t5/Discussions/Help-with-JSL-file-run-method/m-p/429462#M67898</link>
      <description>&lt;P&gt;Can I create a JSL which runs with the excel file stored in the same folder as the JSL file ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have to analyze various output files, all of the output files are stored in different folders , but has the same columns and analyzing method.&lt;/P&gt;&lt;P&gt;Can I create a JSL file which when copied to the source folder and ran it runs the excel file (output file) in that folder?&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:39:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-with-JSL-file-run-method/m-p/429462#M67898</guid>
      <dc:creator>hs2021</dc:creator>
      <dc:date>2023-06-10T23:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Help with JSL file run method</title>
      <link>https://community.jmp.com/t5/Discussions/Help-with-JSL-file-run-method/m-p/430210#M67989</link>
      <description>&lt;P&gt;Yes for sure, or you could save your script in a single place and have it ask you what directory to analyze.&amp;nbsp;&amp;nbsp;&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);

// Get either the current directory or ask the user to pick a directory
DirectoryToSearch = Get Default Directory();
DirectoryToSearch = Pick Directory();

// Files in that directory
FileList = Files In Directory( DirectoryToSearch );

// Filter only for specific files

//  First a function to determine if file should be included
IsFileToAnalyze = function({f}, contains(f, "Output") &amp;amp; (Right(f, 4) == "xlsx" ));

// Find files to analyze - filter each works in JMP 16 or newer
FilesListToAnalyze = filter each( {f}, FileList, IsFileToAnalyze(f) );
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 25 Oct 2021 18:45:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Help-with-JSL-file-run-method/m-p/430210#M67989</guid>
      <dc:creator>ih</dc:creator>
      <dc:date>2021-10-25T18:45:44Z</dc:date>
    </item>
  </channel>
</rss>

