<?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: How to run JS scripts in JSL of JMP software?windows OS in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-run-JS-scripts-in-JSL-of-JMP-software-windows-OS/m-p/626354#M82517</link>
    <description>&lt;P&gt;I'm thinking that ChatGPT is confusing ".js" with ".jsl" here. What it's describing would work with JSL code, but not Javascript.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In addition to Craige's response, you might be able to use the JSL command Run Program() in conjunction with node.js to get something to work.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jed_Campbell_0-1682522228189.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52375i9AE1F7CE141F084F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jed_Campbell_0-1682522228189.png" alt="Jed_Campbell_0-1682522228189.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Apr 2023 15:17:15 GMT</pubDate>
    <dc:creator>Jed_Campbell</dc:creator>
    <dc:date>2023-04-26T15:17:15Z</dc:date>
    <item>
      <title>How to run JS scripts in JSL of JMP software?windows OS</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-run-JS-scripts-in-JSL-of-JMP-software-windows-OS/m-p/626260#M82505</link>
      <description>&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;Do&amp;nbsp; need to load a plug-in?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;Thanks!&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-04-26_20-04-26.png" style="width: 689px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52368i7DFC124DE0480B13/image-size/large?v=v2&amp;amp;px=999" role="button" title="2023-04-26_20-04-26.png" alt="2023-04-26_20-04-26.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 16:08:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-run-JS-scripts-in-JSL-of-JMP-software-windows-OS/m-p/626260#M82505</guid>
      <dc:creator>UersK</dc:creator>
      <dc:date>2023-06-09T16:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to run JS scripts in JSL of JMP software?windows OS</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-run-JS-scripts-in-JSL-of-JMP-software-windows-OS/m-p/626339#M82515</link>
      <description>&lt;UL&gt;
&lt;LI&gt;JavaScript usually runs in a browser, much like JSL runs in JMP. Neither one is a general purpose language for making programs that run outside of their intended environment.&lt;/LI&gt;
&lt;LI&gt;You might be able to use node.js in place of a browser. There do not seem to be any other actively maintained projects to make JavaScript available outside of a browser. I've not used node.js.&lt;/LI&gt;
&lt;LI&gt;I have used Selenium, via Python, to operate a browser.&lt;/LI&gt;
&lt;LI&gt;The best JavaScript documentation is&amp;nbsp;&lt;A href="https://developer.mozilla.org/en-US/docs/Web/javascript" target="_self"&gt;mozilla&lt;/A&gt;&amp;nbsp; and you might be able to translate short functions to JSL easier than using a browser+selenium+python or node.js+RunProgram(?).&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Please post back if you find a better answer.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 15:00:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-run-JS-scripts-in-JSL-of-JMP-software-windows-OS/m-p/626339#M82515</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2023-04-26T15:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to run JS scripts in JSL of JMP software?windows OS</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-run-JS-scripts-in-JSL-of-JMP-software-windows-OS/m-p/626354#M82517</link>
      <description>&lt;P&gt;I'm thinking that ChatGPT is confusing ".js" with ".jsl" here. What it's describing would work with JSL code, but not Javascript.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In addition to Craige's response, you might be able to use the JSL command Run Program() in conjunction with node.js to get something to work.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jed_Campbell_0-1682522228189.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52375i9AE1F7CE141F084F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jed_Campbell_0-1682522228189.png" alt="Jed_Campbell_0-1682522228189.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 15:17:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-run-JS-scripts-in-JSL-of-JMP-software-windows-OS/m-p/626354#M82517</guid>
      <dc:creator>Jed_Campbell</dc:creator>
      <dc:date>2023-04-26T15:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to run JS scripts in JSL of JMP software?windows OS</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-run-JS-scripts-in-JSL-of-JMP-software-windows-OS/m-p/626601#M82537</link>
      <description>&lt;P class=""&gt;&lt;SPAN class=""&gt;I see, can only use other methods to run JS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I ended up using AutoHotkey to run JS and copy the result to the paste board.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;JSL gets the result from the paste board.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Thanks Experts!&lt;/P&gt;&lt;P class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-04-27_17-27-16.png" style="width: 571px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/52406iACF5AA900B79B655/image-size/large?v=v2&amp;amp;px=999" role="button" title="2023-04-27_17-27-16.png" alt="2023-04-27_17-27-16.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 09:30:17 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-run-JS-scripts-in-JSL-of-JMP-software-windows-OS/m-p/626601#M82537</guid>
      <dc:creator>UersK</dc:creator>
      <dc:date>2023-04-27T09:30:17Z</dc:date>
    </item>
  </channel>
</rss>

