<?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: JSL to Close Data Filter Window in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JSL-to-Close-Data-Filter-Window/m-p/791922#M97062</link>
    <description>&lt;P&gt;Here is what I have come up with&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Current Data Table();
df = dt &amp;lt;&amp;lt; Data Filter;
Wait( 2 );
Window( "Data Filter for " || Char( dt &amp;lt;&amp;lt; get name ) ) &amp;lt;&amp;lt; Close window;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Unless you are interactively changing the Data Filter values there is probably a better way in JSL to perform the tasks.&amp;nbsp; What specifically are you using the data filter for?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 30 Aug 2024 21:46:12 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2024-08-30T21:46:12Z</dc:date>
    <item>
      <title>JSL to Close Data Filter Window</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-to-Close-Data-Filter-Window/m-p/791896#M97059</link>
      <description>&lt;P&gt;Howdy, I am trying to include in my script a line at the end that will close the data filter window once it has completed its action. The script right now will open a data filter and apply the filter I want to the target column but I can't figure out how to then get the data filter window to close. I'm not sure if it's even possible, but seems like it would be given the capabilities of JSL. I can write a line of script to close the current data table just fine, I simply can't figure out how to apply the close feature to the data filter window alone. Many thanks for any input!&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 21:09:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-to-Close-Data-Filter-Window/m-p/791896#M97059</guid>
      <dc:creator>Woodrat</dc:creator>
      <dc:date>2024-08-30T21:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: JSL to Close Data Filter Window</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-to-Close-Data-Filter-Window/m-p/791908#M97060</link>
      <description>&lt;P&gt;Something like this?&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 );
df = Current Data Table() &amp;lt;&amp;lt; Data Filter;
Wait( 2 );
( df &amp;lt;&amp;lt; Get Window ) &amp;lt;&amp;lt; Close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 30 Aug 2024 21:19:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-to-Close-Data-Filter-Window/m-p/791908#M97060</guid>
      <dc:creator>mmarchandFSLR</dc:creator>
      <dc:date>2024-08-30T21:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: JSL to Close Data Filter Window</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-to-Close-Data-Filter-Window/m-p/791922#M97062</link>
      <description>&lt;P&gt;Here is what I have come up with&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Current Data Table();
df = dt &amp;lt;&amp;lt; Data Filter;
Wait( 2 );
Window( "Data Filter for " || Char( dt &amp;lt;&amp;lt; get name ) ) &amp;lt;&amp;lt; Close window;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Unless you are interactively changing the Data Filter values there is probably a better way in JSL to perform the tasks.&amp;nbsp; What specifically are you using the data filter for?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 21:46:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-to-Close-Data-Filter-Window/m-p/791922#M97062</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2024-08-30T21:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: JSL to Close Data Filter Window</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-to-Close-Data-Filter-Window/m-p/791932#M97063</link>
      <description>&lt;P&gt;I swear this didn't work when I tried it initially, but, after looking at the Scripting Index, I saw it's valid and tried again.&amp;nbsp; Probably a typo in my first attempt.&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 );
df = Current Data Table() &amp;lt;&amp;lt; Data Filter;
Wait( 2 );
df &amp;lt;&amp;lt; Close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 21:54:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-to-Close-Data-Filter-Window/m-p/791932#M97063</guid>
      <dc:creator>mmarchandFSLR</dc:creator>
      <dc:date>2024-08-30T21:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: JSL to Close Data Filter Window</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-to-Close-Data-Filter-Window/m-p/792387#M97070</link>
      <description>&lt;P&gt;You said, "&lt;SPAN&gt;The script right now will open a data filter and apply the filter I want to the target column but I can't figure out how to then get the data filter window to close.&lt;/SPAN&gt;" If you are using the filter to select rows, another way without using a data filter object is to use the data table messages. Use the &amp;lt;&amp;lt; Select Where( Boolean expression) message to select rows or the &amp;lt;&amp;lt; Get Rows Where( Boolean expression) message obtain a list of matching rows.&lt;/P&gt;</description>
      <pubDate>Sat, 31 Aug 2024 11:13:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-to-Close-Data-Filter-Window/m-p/792387#M97070</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2024-08-31T11:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: JSL to Close Data Filter Window</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-to-Close-Data-Filter-Window/m-p/794380#M97134</link>
      <description>&lt;P&gt;That worked a treat! Thanks for the input, I greatly appreciate it!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A bit of background: I'm using this script as a tool to identify CV values above a certain percentage. There are a number of folks I work with that have JMP but not the level of experience that my self (and one other whom I work with) have, so by creating a script, I can give this to them and they can quickly and easily identify assays with CV outliers. It shouldn't need to be a dynamic filter since it's filtering for a hard cutoff. I just didn't want the data filter window sticking around for anyone to edit or offer up greater confusion. Many thanks for the answer.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2024 15:05:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-to-Close-Data-Filter-Window/m-p/794380#M97134</guid>
      <dc:creator>Woodrat</dc:creator>
      <dc:date>2024-09-03T15:05:58Z</dc:date>
    </item>
  </channel>
</rss>

