<?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: Can I view the log of an executable (\\!) JSL? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Can-I-view-the-log-of-an-executable-JSL/m-p/14161#M13265</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For a little more control try the &lt;STRONG&gt;log capture()&lt;/STRONG&gt; function.&amp;nbsp; Put the code you want to capture the log for inside the parentheses, and it returns what would have gone to the log window.&amp;nbsp; Thanks to craige for pointing that function out to me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Sep 2015 21:07:31 GMT</pubDate>
    <dc:creator>pmroz</dc:creator>
    <dc:date>2015-09-04T21:07:31Z</dc:date>
    <item>
      <title>Can I view the log of an executable (\\!) JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-I-view-the-log-of-an-executable-JSL/m-p/14159#M13263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The first line of my jsl is \\! which makes it executable (running outside of, or without first starting, JMP.exe). My script no longer works now and relies on Get Current Directory() which returns a different path if I try to run it and view the log in JMP. Can a JSL write the standard JSL log to a text file which I can read in another text editor? My script runs as a service in the background and never stops waiting for input files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Sep 2015 20:10:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-I-view-the-log-of-an-executable-JSL/m-p/14159#M13263</guid>
      <dc:creator>chulew</dc:creator>
      <dc:date>2015-09-02T20:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Can I view the log of an executable (\\!) JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-I-view-the-log-of-an-executable-JSL/m-p/14160#M13264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//!&lt;/P&gt;&lt;P&gt;Open Log();&lt;/P&gt;&lt;P&gt;win = Window("Log");&lt;/P&gt;&lt;P&gt;Print("test");&lt;/P&gt;&lt;P&gt;ScriptBox = win[ScriptBox(1)];&lt;/P&gt;&lt;P&gt;text = ScriptBox &amp;lt;&amp;lt; Get Text;&lt;/P&gt;&lt;P&gt;Save Text File("c:/Temp/Log.txt", text);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can choose a different file path but c:/Temp is a generic location.&lt;/P&gt;&lt;P&gt;Log file should contain the script that executes and ends with "test" which we print.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 19:39:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-I-view-the-log-of-an-executable-JSL/m-p/14160#M13264</guid>
      <dc:creator>msharp</dc:creator>
      <dc:date>2015-09-04T19:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Can I view the log of an executable (\\!) JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-I-view-the-log-of-an-executable-JSL/m-p/14161#M13265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For a little more control try the &lt;STRONG&gt;log capture()&lt;/STRONG&gt; function.&amp;nbsp; Put the code you want to capture the log for inside the parentheses, and it returns what would have gone to the log window.&amp;nbsp; Thanks to craige for pointing that function out to me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 21:07:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-I-view-the-log-of-an-executable-JSL/m-p/14161#M13265</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2015-09-04T21:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Can I view the log of an executable (\\!) JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-I-view-the-log-of-an-executable-JSL/m-p/14162#M13266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I realized that if I launch my script manually (with \\!), the JMP main windows does open although Get Current Directory() returns my \\! script path which is what I want. If I understand correctly, \\! just prevents the script from being displayed (thanks Wendy M. @ JMP). Once the main JMP window opens, I was able to go to VIEW &amp;gt; LOG to see what was going on in my invisible script. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 13:20:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-I-view-the-log-of-an-executable-JSL/m-p/14162#M13266</guid>
      <dc:creator>chulew</dc:creator>
      <dc:date>2015-09-08T13:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: Can I view the log of an executable (\\!) JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-I-view-the-log-of-an-executable-JSL/m-p/14163#M13267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks msharp! I'm going to try to implement this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 13:22:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-I-view-the-log-of-an-executable-JSL/m-p/14163#M13267</guid>
      <dc:creator>chulew</dc:creator>
      <dc:date>2015-09-08T13:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can I view the log of an executable (\\!) JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-I-view-the-log-of-an-executable-JSL/m-p/14164#M13268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very cool! Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Sep 2015 13:23:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-I-view-the-log-of-an-executable-JSL/m-p/14164#M13268</guid>
      <dc:creator>chulew</dc:creator>
      <dc:date>2015-09-08T13:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can I view the log of an executable (\\!) JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-I-view-the-log-of-an-executable-JSL/m-p/432840#M68255</link>
      <description>&lt;P&gt;Hi This is very helpful however when I am running the script remotely with Task Scheduler its not reading the&amp;nbsp;&lt;SPAN&gt;text = ScriptBox &amp;lt;&amp;lt; Get Text; part.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could anyone pls help with this!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 21:01:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-I-view-the-log-of-an-executable-JSL/m-p/432840#M68255</guid>
      <dc:creator>j0rg</dc:creator>
      <dc:date>2021-11-03T21:01:15Z</dc:date>
    </item>
  </channel>
</rss>

