<?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: Capturing the log file during a non interactive JMP script session in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Capturing-the-log-file-during-a-non-interactive-JMP-script/m-p/17979#M16392</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure this will do it, but worth a try...in the windows-specific prefs, or submit (in a *previous* run either way, of course)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;Preferences(Log Open Strategy( "Startup" ))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, if you are building HTML in the log window, consider building it in a JSL string instead, then using saveTextFile to save the string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What approach are you using to start JMP?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Craige&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Apr 2016 20:01:47 GMT</pubDate>
    <dc:creator>Craige_Hales</dc:creator>
    <dc:date>2016-04-13T20:01:47Z</dc:date>
    <item>
      <title>Capturing the log file during a non interactive JMP script session</title>
      <link>https://community.jmp.com/t5/Discussions/Capturing-the-log-file-during-a-non-interactive-JMP-script/m-p/17975#M16388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I Know this was asked before but the solution mentioned didn't work for me. I want to write to the log and save the output during a specific portion of my script. &lt;/P&gt;&lt;P&gt;The log capture() works when I have JMP11 open but when I run the jsl as a stand alone non interactive session I get no output. &lt;/P&gt;&lt;P&gt;I believe the problem is that there is no log file started initally when the JMP thread starts in the background, so I was wondering if you can open the log window with some jsl??&lt;/P&gt;&lt;P&gt;OR is there a more robust way to capture the log file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FYI.. the reason I want the log file output is because i am constructing html tables from data tables so I wanted an automated &lt;/P&gt;&lt;P&gt;script rather than me having to open JMP and run my script. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions greatly appreciate,&lt;/P&gt;&lt;P&gt;Thank you. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 10:00:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Capturing-the-log-file-during-a-non-interactive-JMP-script/m-p/17975#M16388</guid>
      <dc:creator>lenny</dc:creator>
      <dc:date>2016-04-13T10:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing the log file during a non interactive JMP script session</title>
      <link>https://community.jmp.com/t5/Discussions/Capturing-the-log-file-during-a-non-interactive-JMP-script/m-p/17976#M16389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you referring to this &lt;A href="https://community.jmp.com/message/223177" target="_blank"&gt;Re: Can I view the log of an executable (\!) JSL?&lt;/A&gt; If not look check it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can open the log and see if it's open with these commands:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #0000dd;"&gt;Open Log&lt;/SPAN&gt;&lt;STRONG style="color: black; font-size: 10.0pt; font-family: Consolas;"&gt;()&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: navy;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #0000dd;"&gt;Show&lt;/SPAN&gt;&lt;STRONG style="color: black; font-size: 10.0pt; font-family: Consolas;"&gt;(&lt;/STRONG&gt; &lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #0000dd;"&gt;Is Log Open&lt;/SPAN&gt;&lt;STRONG style="color: black; font-size: 10.0pt; font-family: Consolas;"&gt;()&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: navy;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, I think you are missing something when you say:&amp;nbsp; "&lt;SPAN style="color: #555555; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;The log capture() works when I have JMP11 open but when I run the jsl as a stand alone non interactive session I get no output."&amp;nbsp; &lt;/SPAN&gt;In order for JSL to run JMP has to open.&amp;nbsp; JSL only runs through jmp.exe which running from a command prompt or anywhere will open JMP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2016 13:25:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Capturing-the-log-file-during-a-non-interactive-JMP-script/m-p/17976#M16389</guid>
      <dc:creator>msharp</dc:creator>
      <dc:date>2016-10-28T13:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing the log file during a non interactive JMP script session</title>
      <link>https://community.jmp.com/t5/Discussions/Capturing-the-log-file-during-a-non-interactive-JMP-script/m-p/17977#M16390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is the post I am referring to thanks.&lt;/P&gt;&lt;P&gt;That code snippet you suggested will not work as seen below open log doesn't appear to be a valid command.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;open log&lt;STRONG&gt;()&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 12pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-size: 12pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000dd; font-size: 12pt; font-family: Courier New;"&gt;show&lt;/SPAN&gt;&lt;STRONG style=": ; font-size: 12pt; font-family: Courier New;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt; font-family: Courier New;"&gt;is log open&lt;STRONG&gt;())&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-size: 12pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I open a JMP session and open my script and then run it, the capture log() works in fact I was originally using the save log() command when I ran the script manually, before I started looking at an automated solution.&lt;/P&gt;&lt;P&gt;You are correct when you say JMP has to open but it opens up as a process thread in the background and you cant actually see it, this is why I believe when it opens the log doesn't automatically open with that process.&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 15:39:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Capturing-the-log-file-during-a-non-interactive-JMP-script/m-p/17977#M16390</guid>
      <dc:creator>lenny</dc:creator>
      <dc:date>2016-04-13T15:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing the log file during a non interactive JMP script session</title>
      <link>https://community.jmp.com/t5/Discussions/Capturing-the-log-file-during-a-non-interactive-JMP-script/m-p/17978#M16391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try setting the BatchInteractive() function.&amp;nbsp; This may solve your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BatchInteractive(0); or BatchInteractive(1);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 16:29:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Capturing-the-log-file-during-a-non-interactive-JMP-script/m-p/17978#M16391</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2016-04-13T16:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing the log file during a non interactive JMP script session</title>
      <link>https://community.jmp.com/t5/Discussions/Capturing-the-log-file-during-a-non-interactive-JMP-script/m-p/17979#M16392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure this will do it, but worth a try...in the windows-specific prefs, or submit (in a *previous* run either way, of course)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'courier new', courier;"&gt;Preferences(Log Open Strategy( "Startup" ))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, if you are building HTML in the log window, consider building it in a JSL string instead, then using saveTextFile to save the string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What approach are you using to start JMP?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Craige&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 20:01:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Capturing-the-log-file-during-a-non-interactive-JMP-script/m-p/17979#M16392</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2016-04-13T20:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing the log file during a non interactive JMP script session</title>
      <link>https://community.jmp.com/t5/Discussions/Capturing-the-log-file-during-a-non-interactive-JMP-script/m-p/17980#M16393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm interested in how you're accomplishing this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555555; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;"You are correct when you say JMP has to open but it opens up as a process thread in the background"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555555; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;What operating system are you using?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555555; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555555; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;There are many ways to run an automated script that will actually open JMP, for example, through a .bat file.&amp;nbsp; Will this not work either?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2016 21:12:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Capturing-the-log-file-during-a-non-interactive-JMP-script/m-p/17980#M16393</guid>
      <dc:creator>msharp</dc:creator>
      <dc:date>2016-04-13T21:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Capturing the log file during a non interactive JMP script session</title>
      <link>https://community.jmp.com/t5/Discussions/Capturing-the-log-file-during-a-non-interactive-JMP-script/m-p/17981#M16394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Craige,&lt;/P&gt;&lt;P&gt;I like your suggestion about using a JSL string and saveTextFile. I might update &lt;A href="https://community.jmp.com/docs/DOC-6420" target="_blank"&gt;Export Data Table to HTML&lt;/A&gt;​ to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update: &lt;A href="https://community.jmp.com/docs/DOC-6420" target="_blank"&gt;Export Data Table to HTML&lt;/A&gt;​ is now updated to work this way.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2016 13:25:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Capturing-the-log-file-during-a-non-interactive-JMP-script/m-p/17981#M16394</guid>
      <dc:creator>John_Powell_JMP</dc:creator>
      <dc:date>2016-10-28T13:25:31Z</dc:date>
    </item>
  </channel>
</rss>

