<?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: Is it possible to open a jsl script and edit it using another jsl script? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-open-a-jsl-script-and-edit-it-using-another/m-p/247445#M48568</link>
    <description>&lt;P&gt;I work on JSL scripts mostly in the JMP script editor.&amp;nbsp; However sometimes Notepad++ comes in very handy.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Notepad++ has features like:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Highlighting all instances of text you are searching for.&lt;/LI&gt;
&lt;LI&gt;Search all files in a folder (recursively if needed) for a string&lt;/LI&gt;
&lt;LI&gt;Find and replace all occurrences of a string in a set of files&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Feb 2020 16:06:48 GMT</pubDate>
    <dc:creator>pmroz</dc:creator>
    <dc:date>2020-02-13T16:06:48Z</dc:date>
    <item>
      <title>Is it possible to open a jsl script and edit it using another jsl script?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-open-a-jsl-script-and-edit-it-using-another/m-p/51729#M29337</link>
      <description />
      <pubDate>Wed, 21 Feb 2018 15:12:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-open-a-jsl-script-and-edit-it-using-another/m-p/51729#M29337</guid>
      <dc:creator>powerpuff</dc:creator>
      <dc:date>2018-02-21T15:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to open a jsl script and edit it using another jsl script?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-open-a-jsl-script-and-edit-it-using-another/m-p/51730#M29338</link>
      <description>&lt;P&gt;Open it as a text file and store the contents in a variable. Then use the character functions to change it.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2018 15:26:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-open-a-jsl-script-and-edit-it-using-another/m-p/51730#M29338</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2018-02-21T15:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to open a jsl script and edit it using another jsl script?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-open-a-jsl-script-and-edit-it-using-another/m-p/51731#M29339</link>
      <description>&lt;P&gt;The short answer is yes. You can use &lt;A href="https://www.jmp.com/support/help/13-2/Loading_and_Saving_Text_Files.shtml" target="_self"&gt;Load Text File()&lt;/A&gt; to get the contents of a .JSL file into a JSL variable and then work on it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's an interesting question though and it makes me wonder why you need/want to do this? Can you describe what you're trying to do?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2018 15:28:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-open-a-jsl-script-and-edit-it-using-another/m-p/51731#M29339</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2018-02-21T15:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to open a jsl script and edit it using another jsl script?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-open-a-jsl-script-and-edit-it-using-another/m-p/51792#M29374</link>
      <description>&lt;P&gt;Here's an example - not sure I could live without this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.pega-analytics.co.uk/blog/finding-that-line-of-code/" target="_self"&gt;http://www.pega-analytics.co.uk/blog/finding-that-line-of-code/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2018 21:49:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-open-a-jsl-script-and-edit-it-using-another/m-p/51792#M29374</guid>
      <dc:creator>David_Burnham</dc:creator>
      <dc:date>2018-02-21T21:49:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to open a jsl script and edit it using another jsl script?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-open-a-jsl-script-and-edit-it-using-another/m-p/247249#M48534</link>
      <description>&lt;P&gt;This is an old thread but I'm going to reply to this anyway, as I occasionally look to see if this feature exists. The only reason I'd want to use another editor is when I'm writing most of my code but not yet ready to test, and I want to use an external editor's feature where a selected word (like a variable name or function) preceded and followed by spaces or some other special characters, automatically highlights all other instances of that text in the file. It's useful for when my scripts turn into spaghetti code and I can quickly see where the other instances of that variable are.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 14:59:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-open-a-jsl-script-and-edit-it-using-another/m-p/247249#M48534</guid>
      <dc:creator>mikedriscoll</dc:creator>
      <dc:date>2020-02-12T14:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to open a jsl script and edit it using another jsl script?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-open-a-jsl-script-and-edit-it-using-another/m-p/247445#M48568</link>
      <description>&lt;P&gt;I work on JSL scripts mostly in the JMP script editor.&amp;nbsp; However sometimes Notepad++ comes in very handy.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Notepad++ has features like:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Highlighting all instances of text you are searching for.&lt;/LI&gt;
&lt;LI&gt;Search all files in a folder (recursively if needed) for a string&lt;/LI&gt;
&lt;LI&gt;Find and replace all occurrences of a string in a set of files&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2020 16:06:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-open-a-jsl-script-and-edit-it-using-another/m-p/247445#M48568</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2020-02-13T16:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to open a jsl script and edit it using another jsl script?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-to-open-a-jsl-script-and-edit-it-using-another/m-p/876087#M103928</link>
      <description>&lt;P&gt;To open a script file into a script window, one can use:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;scriptWindow = New Window( "script editor", &amp;lt;&amp;lt;Type( "Script" ), "" );
code= Load Text File(filename);
scriptWindow [Script Box( 1 )] &amp;lt;&amp;lt; set text(code)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Afterwards the script editor contains the code of the file filename. But the Script Editor doesn't know the location of filename.&lt;/P&gt;
&lt;P&gt;So, &lt;FONT face="courier new,courier"&gt;include(file2)&lt;/FONT&gt;&amp;nbsp;and &lt;FONT face="courier new,courier"&gt;open(file2)&lt;/FONT&gt; will not work in the code.&lt;BR /&gt;&lt;BR /&gt;Is it possible to remote control the script editor to "open" the script file? Something like&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;current window() &amp;lt;&amp;lt; open(file)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Plan B: redirect JMP to the correct file path.&lt;BR /&gt;I tried it with &lt;FONT face="courier new,courier"&gt;Set Default Path()&lt;/FONT&gt; and&amp;nbsp;S&lt;FONT face="courier new,courier"&gt;et File Search Path()&lt;/FONT&gt; but it didn't work.&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 14:55:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-to-open-a-jsl-script-and-edit-it-using-another/m-p/876087#M103928</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2025-05-23T14:55:11Z</dc:date>
    </item>
  </channel>
</rss>

