<?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: Include() with Wildcards in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Include-with-Wildcards/m-p/801937#M97786</link>
    <description>&lt;P&gt;I don't think so but if the file is always in same folder, you can figure out which file you should include by first checking all file names.&lt;/P&gt;</description>
    <pubDate>Thu, 26 Sep 2024 04:35:15 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2024-09-26T04:35:15Z</dc:date>
    <item>
      <title>Include() with Wildcards</title>
      <link>https://community.jmp.com/t5/Discussions/Include-with-Wildcards/m-p/801876#M97775</link>
      <description>&lt;P&gt;I have a main script that calls exterior JSL scripts depending on the content of a particular column.&amp;nbsp; The exterior JSL scripts themselves and their names are revised periodically to reflect spec changes.&amp;nbsp; Can wildcards be used with Include() to bypass any naming change to the script that gets called?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 21:25:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Include-with-Wildcards/m-p/801876#M97775</guid>
      <dc:creator>SpannerHead</dc:creator>
      <dc:date>2024-09-25T21:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Include() with Wildcards</title>
      <link>https://community.jmp.com/t5/Discussions/Include-with-Wildcards/m-p/801937#M97786</link>
      <description>&lt;P&gt;I don't think so but if the file is always in same folder, you can figure out which file you should include by first checking all file names.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 04:35:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Include-with-Wildcards/m-p/801937#M97786</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-09-26T04:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Include() with Wildcards</title>
      <link>https://community.jmp.com/t5/Discussions/Include-with-Wildcards/m-p/802144#M97817</link>
      <description>&lt;P&gt;A friend at work made a similar suggestion.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This appears to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Script_Options = Files in Directory("\\Directory Name\");


//Keyphrase is the unique string to identify the script that should execute

For( i = 1, i &amp;lt;= N Items( Script_Options ), i++,
	If( Contains( Script_Options[i], "Keyphrase" ), scripttorun = Script_Options[i]););

	Chosen = "\\Directory Name\"||scripttorun;
		
	Include(Chosen);&lt;/CODE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2024 14:49:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Include-with-Wildcards/m-p/802144#M97817</guid>
      <dc:creator>SpannerHead</dc:creator>
      <dc:date>2024-10-02T14:49:45Z</dc:date>
    </item>
  </channel>
</rss>

