<?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: Record Subset action via log in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Record-Subset-action-via-log/m-p/777348#M95871</link>
    <description>&lt;P&gt;You can capture the Source script from the subset&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = Open("$SAMPLE_DATA/Big Class.jmp");
dt &amp;lt;&amp;lt; select rows(1::2);

Subset();
Window("Subset")[Button Box(2)] &amp;lt;&amp;lt; click();
subset_script = Get Data Table List()[1] &amp;lt;&amp;lt; Get Script("Source");

/*
// Subset data table
// → Data Table("Subset of Big Class 2")
Data Table("Big Class") &amp;lt;&amp;lt; Clear Select &amp;lt;&amp;lt; Select Rows([1, 2]) &amp;lt;&amp;lt;
Subset(Selected Rows(1), Selected columns only(0));
*/&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Not sure what is meant by "deaf" log, but Log Capture() can make parts of JSL to not print to log.&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jul 2024 04:50:02 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2024-07-30T04:50:02Z</dc:date>
    <item>
      <title>Record Subset action via log</title>
      <link>https://community.jmp.com/t5/Discussions/Record-Subset-action-via-log/m-p/777285#M95859</link>
      <description>&lt;P&gt;When I go to&lt;STRONG&gt; Tables/Subset&lt;/STRONG&gt; and then in the platform, when I click on OK, the enhanced log captures the action.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I use JSL to click on OK, the log ignores this action:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;subset();
window("Subset")[Button Box(2)] &amp;lt;&amp;lt; click()&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The same platform, the same button - and a special functionality prevents the log from logging.&lt;/P&gt;&lt;P&gt;Argh!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According JMP support (00156411):&amp;nbsp;&lt;EM&gt;There is no workaround for this behavior.&amp;nbsp;&amp;nbsp;&lt;/EM&gt;&lt;BR /&gt;Oh no!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For error messages, there is the secret &lt;FONT face="courier new,courier"&gt;Batch Interactive&lt;/FONT&gt; setting which can be used to switch between Scripting and Interactive mode.&amp;nbsp;Does anyone know of a similar setting for the log - to make the log verbose ?&lt;/P&gt;&lt;P&gt;... or deaf?&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2024 21:24:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Record-Subset-action-via-log/m-p/777285#M95859</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-07-29T21:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Record Subset action via log</title>
      <link>https://community.jmp.com/t5/Discussions/Record-Subset-action-via-log/m-p/777348#M95871</link>
      <description>&lt;P&gt;You can capture the Source script from the subset&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = Open("$SAMPLE_DATA/Big Class.jmp");
dt &amp;lt;&amp;lt; select rows(1::2);

Subset();
Window("Subset")[Button Box(2)] &amp;lt;&amp;lt; click();
subset_script = Get Data Table List()[1] &amp;lt;&amp;lt; Get Script("Source");

/*
// Subset data table
// → Data Table("Subset of Big Class 2")
Data Table("Big Class") &amp;lt;&amp;lt; Clear Select &amp;lt;&amp;lt; Select Rows([1, 2]) &amp;lt;&amp;lt;
Subset(Selected Rows(1), Selected columns only(0));
*/&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Not sure what is meant by "deaf" log, but Log Capture() can make parts of JSL to not print to log.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2024 04:50:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Record-Subset-action-via-log/m-p/777348#M95871</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-07-30T04:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Record Subset action via log</title>
      <link>https://community.jmp.com/t5/Discussions/Record-Subset-action-via-log/m-p/777361#M95872</link>
      <description>&lt;P&gt;deaf:&lt;BR /&gt;&lt;A href="https://community.jmp.com/t5/Discussions/How-to-supress-script-dump-in-log-upon-closing-a-chart/m-p/718472#U718472" target="_blank"&gt;https://community.jmp.com/t5/Discussions/How-to-supress-script-dump-in-log-upon-closing-a-chart/m-p/718472#U718472&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use the source script, not the log.&amp;nbsp; this reminds me of&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;TS-00035426:&amp;nbsp;&lt;EM&gt;&lt;LI-MESSAGE title="Update &amp;amp;amp; Concatenate: source script collision" uid="590519" url="https://community.jmp.com/t5/JMP-Wish-List/Update-amp-Concatenate-source-script-collision/m-p/590519#U590519" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-idea-thread lia-fa-icon lia-fa-idea lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;According to JMP the source script is &lt;STRONG&gt;&lt;EM&gt;rendered useless&lt;/EM&gt;&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"For almost all data table manipulations, a Source script is written to the table.&amp;nbsp; If one is already there, it is overwritten.&amp;nbsp; This is how it has worked for many years.&amp;nbsp; It is not a bug, it is intentional behavior.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If you wish to keep the code written to the Source script, it is recommended that you copy it as appropriate when it is written there.&amp;nbsp; However, &lt;STRONG&gt;with the implementation of the Action Recorder, the Source script is really rendered useless&lt;/STRONG&gt;.&amp;nbsp; The Action Recorder is the preferred method of collecting code that JMP writes to build your own script."&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 03 Aug 2024 17:10:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Record-Subset-action-via-log/m-p/777361#M95872</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-08-03T17:10:48Z</dc:date>
    </item>
  </channel>
</rss>

