<?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 Use jsl to execute cmd to open up a ESP file in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Use-jsl-to-execute-cmd-to-open-up-a-ESP-file/m-p/609640#M81068</link>
    <description>&lt;P&gt;Hi all, I'm trying to present my 3D model on my jmp dashboard. The esp file is opened by executing a command through cmd window and opens up in a browser. I can add a wed page in the dashboard, but is it possible to use jsl to call cmd window and execute a command? Thank you!&lt;/P&gt;</description>
    <pubDate>Thu, 08 Jun 2023 16:30:37 GMT</pubDate>
    <dc:creator>OrthogonalCrow3</dc:creator>
    <dc:date>2023-06-08T16:30:37Z</dc:date>
    <item>
      <title>Use jsl to execute cmd to open up a ESP file</title>
      <link>https://community.jmp.com/t5/Discussions/Use-jsl-to-execute-cmd-to-open-up-a-ESP-file/m-p/609640#M81068</link>
      <description>&lt;P&gt;Hi all, I'm trying to present my 3D model on my jmp dashboard. The esp file is opened by executing a command through cmd window and opens up in a browser. I can add a wed page in the dashboard, but is it possible to use jsl to call cmd window and execute a command? Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 16:30:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Use-jsl-to-execute-cmd-to-open-up-a-ESP-file/m-p/609640#M81068</guid>
      <dc:creator>OrthogonalCrow3</dc:creator>
      <dc:date>2023-06-08T16:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: Use jsl to execute cmd to open up a ESP file</title>
      <link>https://community.jmp.com/t5/Discussions/Use-jsl-to-execute-cmd-to-open-up-a-ESP-file/m-p/609669#M81073</link>
      <description>&lt;P&gt;Check out run program in the scripting index (Coping JSL Example here)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;RP = Run Program(
	Executable( "PING.EXE"/*path probably not needed*/ ),
	Options( {"-n 5", "localhost"} ),
	ReadFunction( Function( {this}, Write( this &amp;lt;&amp;lt; read ) ) )
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Some things might need you to actually call cmd but most shouldn't.&amp;nbsp; I'm just trying to write all outputs to my userprofile&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);
RP = Run Program(
	Executable( "cmd"),
	Options( {"\[/c "ping localhost &amp;gt; C:\users\my_user\ping_results.log 2&amp;gt;&amp;amp;1]\"} ), 
	ReadFunction( Function( {this}, Write( this &amp;lt;&amp;lt; read ) ) )
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I use&amp;nbsp;&lt;A href="https://community.jmp.com/t5/Discovery-Summit-Europe-2016/Run-Program-The-JMP-Link-To-Other-Programs/ta-p/23685" target="_self"&gt;this discovery presentation&lt;/A&gt;&amp;nbsp;all the time when working with run program.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 18:47:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Use-jsl-to-execute-cmd-to-open-up-a-ESP-file/m-p/609669#M81073</guid>
      <dc:creator>vince_faller</dc:creator>
      <dc:date>2023-03-08T18:47:07Z</dc:date>
    </item>
  </channel>
</rss>

