<?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: Capture logging into new window in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Capture-logging-into-new-window/m-p/251985#M49476</link>
    <description>&lt;P&gt;'GetLog()' returns a list, so you have to parse it into text strings before putting it in the TextBox(). In so far as your application is user controlled, then the 'automated' logging doesn't sound too hard - You just need to ask every button that the user might press to get the new contents of the log.&lt;/P&gt;</description>
    <pubDate>Thu, 12 Mar 2020 11:23:59 GMT</pubDate>
    <dc:creator>ian_jmp</dc:creator>
    <dc:date>2020-03-12T11:23:59Z</dc:date>
    <item>
      <title>Capture logging into new window</title>
      <link>https://community.jmp.com/t5/Discussions/Capture-logging-into-new-window/m-p/251861#M49459</link>
      <description>&lt;P&gt;I'm trying to capture the logging information into new window. Following code isn't showing anything in new window.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a first step towards an integrated GUI where "log" is also a tab and can be checked instantly to view logging instead of going to JMP logging page which is separate window.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;	 logging = New Window("Logging",
	  xx=Border Box( Left( 10 ), Right( 10 ), Top( 5 ), Bottom( 5 ), Sides( 15 ),
					  all contents = Get Log();
					  logging_capture = Text Edit Box();
					  logging_capture &amp;lt;&amp;lt; Set Text(all contents);
					  )
					  );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 11 Mar 2020 19:49:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Capture-logging-into-new-window/m-p/251861#M49459</guid>
      <dc:creator>Dib-Dey</dc:creator>
      <dc:date>2020-03-11T19:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Capture logging into new window</title>
      <link>https://community.jmp.com/t5/Discussions/Capture-logging-into-new-window/m-p/251922#M49469</link>
      <description>&lt;P&gt;have you looked into projects at all?&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);
p = new project();
p &amp;lt;&amp;lt; Run Script(
	New Window("Script 1", 
		Set Window ID("Script"), 
		&amp;lt;&amp;lt;Script("Names Default to Here( 1 );\!n")
	);
);
p &amp;lt;&amp;lt; Set Layout(
	H Splitter Box(
		&amp;lt;&amp;lt;Dockable(), 
		VSplitterBox(
			&amp;lt;&amp;lt;Dockable(), 
			Tab Page Box(Title( "Window List" ),Window ID( "Window List" )),
			Tab Page Box(Title( "Bookmarks" ),Window ID( "Bookmarks" )),
			Tab Page Box(Title( "Recent Files" ),Window ID( "Recent Files" ))
		),
		TabBox(
			Tab Page Box( WindowID("Script") ), 
			Tab Page Box( Title( "Log" ), Window ID( "Log" ) )
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All scripts also have an embedded log available if that's something you like better too. If you right click a script window, you should see "Show Embedded Log".&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2020 00:32:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Capture-logging-into-new-window/m-p/251922#M49469</guid>
      <dc:creator>vince_faller</dc:creator>
      <dc:date>2020-03-12T00:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Capture logging into new window</title>
      <link>https://community.jmp.com/t5/Discussions/Capture-logging-into-new-window/m-p/251937#M49470</link>
      <description>&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;My problem is, I'm trying to have another tap in my integrated gui where realtime logging is seen. So that user can just click that tap and see the og instead of going to another window.&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GUI.jpg" style="width: 628px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/22305i22B68F8FCF626867/image-size/large?v=v2&amp;amp;px=999" role="button" title="GUI.jpg" alt="GUI.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2020 01:32:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Capture-logging-into-new-window/m-p/251937#M49470</guid>
      <dc:creator>Dib-Dey</dc:creator>
      <dc:date>2020-03-12T01:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Capture logging into new window</title>
      <link>https://community.jmp.com/t5/Discussions/Capture-logging-into-new-window/m-p/251985#M49476</link>
      <description>&lt;P&gt;'GetLog()' returns a list, so you have to parse it into text strings before putting it in the TextBox(). In so far as your application is user controlled, then the 'automated' logging doesn't sound too hard - You just need to ask every button that the user might press to get the new contents of the log.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2020 11:23:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Capture-logging-into-new-window/m-p/251985#M49476</guid>
      <dc:creator>ian_jmp</dc:creator>
      <dc:date>2020-03-12T11:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: Capture logging into new window</title>
      <link>https://community.jmp.com/t5/Discussions/Capture-logging-into-new-window/m-p/252078#M49484</link>
      <description>&lt;P&gt;Bang on target! Thanks. Below captures the log in a window.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;logging = New Window( "Database Query",
	dataB = Border Box( Left( 10 ), Right( 10 ), Top( 10 ), Bottom( 5 ), Sides( 15 ),
		V List Box(
			Text Box( "logging data", set font size( 10 ) ),
			all_contents = Get Log(),
			x = N Items( all_contents );
			text="";
			logging_capture = Text Box(),
			For( i = 1, i &amp;lt;= x, i++,
				text = text ||all_contents[i] || "\\!n";
			);
			logging_capture &amp;lt;&amp;lt; Set Text( text);
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 12 Mar 2020 16:51:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Capture-logging-into-new-window/m-p/252078#M49484</guid>
      <dc:creator>Dib-Dey</dc:creator>
      <dc:date>2020-03-12T16:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Capture logging into new window</title>
      <link>https://community.jmp.com/t5/Discussions/Capture-logging-into-new-window/m-p/252079#M49485</link>
      <description>&lt;P&gt;is there any alternative to Get Log(); which captures &lt;U&gt;&lt;STRONG&gt;print/show/write&lt;/STRONG&gt;&lt;/U&gt; functions only? I can then get very selected log printed. I will also read in the documentation to find if anything available.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2020 16:53:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Capture-logging-into-new-window/m-p/252079#M49485</guid>
      <dc:creator>Dib-Dey</dc:creator>
      <dc:date>2020-03-12T16:53:16Z</dc:date>
    </item>
  </channel>
</rss>

