<?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 Running JSL script via a .exe file in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Running-JSL-script-via-a-exe-file/m-p/4332#M4332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the info. And yes, I am looking for a compiled program/.exe file to execute my jmp script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jan 2012 16:06:40 GMT</pubDate>
    <dc:creator>engr</dc:creator>
    <dc:date>2012-01-30T16:06:40Z</dc:date>
    <item>
      <title>Running JSL script via a .exe file</title>
      <link>https://community.jmp.com/t5/Discussions/Running-JSL-script-via-a-exe-file/m-p/4330#M4330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created a script and just as an enhancement I thought if there is a way I can run this script without opening JMP. I can currently do this via PERL using the following script :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#!c:\Perl\bin\perl.exe&lt;/P&gt;&lt;P&gt;use Win32::OLE;&lt;/P&gt;&lt;P&gt;print "Script Initializing....","\n";&lt;/P&gt;&lt;P&gt;my $jmp = Win32::OLE-&amp;gt;new('JMP.Application');&lt;/P&gt;&lt;P&gt;$jmp-&amp;gt;{'Visible'}= 0;&lt;/P&gt;&lt;P&gt;$jmp-&amp;gt;RunJSLFile("F:/scripts/crunchalot.jsl");&lt;/P&gt;&lt;P&gt;print"Done\n";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone shed some light on how to make a VBscript(or any other code) that would do the same via a .EXE file. I am not very well versed with visual basic but I've been tinkering around a bit with it in the last few days so please consider me a newbie at VB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jan 2012 21:18:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Running-JSL-script-via-a-exe-file/m-p/4330#M4330</guid>
      <dc:creator>engr</dc:creator>
      <dc:date>2012-01-26T21:18:09Z</dc:date>
    </item>
    <item>
      <title>Running JSL script via a .exe file</title>
      <link>https://community.jmp.com/t5/Discussions/Running-JSL-script-via-a-exe-file/m-p/4331#M4331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps one solution might fit your needs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JMP scripts can be configured to "Auto-Submit", that is, execute instead of open in a script editor when double-clicked or opened from the OS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"//!" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(double backslash, exclamation point) on the very first line of the script will cause it to run rather than open.&amp;nbsp; Then as your script above, in Perl, Python, R, VBscript, etc. one can simply open the file rather than explicitly first opening JMP via OLE.&amp;nbsp; See Chapter 3 of the JMP Scripting Guide.&amp;nbsp; See also the JMP Automation help file.&amp;nbsp; I am not sure what you might be referring to of doing the same thing via an .EXE file.&amp;nbsp; Do you want a compiled program to call/execute your JMP script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;-Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 13:10:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Running-JSL-script-via-a-exe-file/m-p/4331#M4331</guid>
      <dc:creator>mattf</dc:creator>
      <dc:date>2012-01-30T13:10:52Z</dc:date>
    </item>
    <item>
      <title>Running JSL script via a .exe file</title>
      <link>https://community.jmp.com/t5/Discussions/Running-JSL-script-via-a-exe-file/m-p/4332#M4332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matt,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the info. And yes, I am looking for a compiled program/.exe file to execute my jmp script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 16:06:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Running-JSL-script-via-a-exe-file/m-p/4332#M4332</guid>
      <dc:creator>engr</dc:creator>
      <dc:date>2012-01-30T16:06:40Z</dc:date>
    </item>
  </channel>
</rss>

