<?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: How to make a toolbar script that runs &amp;quot;Save script to data table&amp;quot;? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-make-a-toolbar-script-that-runs-quot-Save-script-to-data/m-p/865730#M102877</link>
    <description>&lt;P&gt;Thanks for the input! I will try both methods (built-in two-click and scripted one-click) to see what sticks! Thanks a lot to both&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/16391"&gt;@shampton82&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt; for never failing support!&lt;/P&gt;</description>
    <pubDate>Fri, 04 Apr 2025 09:52:11 GMT</pubDate>
    <dc:creator>Ake</dc:creator>
    <dc:date>2025-04-04T09:52:11Z</dc:date>
    <item>
      <title>How to make a toolbar script that runs "Save script to data table"?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-a-toolbar-script-that-runs-quot-Save-script-to-data/m-p/865249#M102847</link>
      <description>&lt;P&gt;I saw the below very inspiring talk from&amp;nbsp;&lt;A href="https://community.jmp.com/t5/Speakers/Steve-Hampton/ta-p/758608?profile.language=en" target="_blank" rel="noopener"&gt;&lt;SPAN class="notranslate"&gt;Steve Hampton&lt;/SPAN&gt;&lt;/A&gt;, about saving clicks, and have since then made myself a number of time-saving toolbar scripts. One thing I do repeatedly is "save script to data table" whenever I think I made a nice graph, to prevent myself from destroying it when trying to refine it.&amp;nbsp; Every save takes me a handful of clicks. Tried to make a script for that, but no success.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would be very happy for suggestions on how to make such a script to embed in&amp;nbsp; a toolbar.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.jmp.com/t5/Abstracts/Stay-in-the-Flow-With-Custom-Scripts-and-Toolbars-2022-US-30MP/ev-p/756170/redirect_from_archived_page/true" target="_blank" rel="noopener"&gt;Stay in the Flow With Custom Scripts and Toolbars (2022-US-30MP-1081) - JMP User Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 12:08:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-a-toolbar-script-that-runs-quot-Save-script-to-data/m-p/865249#M102847</guid>
      <dc:creator>Ake</dc:creator>
      <dc:date>2025-04-03T12:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a toolbar script that runs "Save script to data table"?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-a-toolbar-script-that-runs-quot-Save-script-to-data/m-p/865280#M102849</link>
      <description>&lt;P&gt;This will most definitely require error-handling and some checks but basic idea could be: use XPath to find outlineboxes with helpkey attribute and then get scriptable object from those and then send the message.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

obs = (Current Report() &amp;lt;&amp;lt; XPath("//OutlineBox[@helpKey]"));
objs = obs &amp;lt;&amp;lt; Get Scriptable Object;
objs[1] &amp;lt;&amp;lt; Save Script to Data Table;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;There might also be better messages than &amp;lt;&amp;lt; Save Script to Data Table (Save Script for All Objects or Save Script for All Objects To Data Table)&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 13:10:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-a-toolbar-script-that-runs-quot-Save-script-to-data/m-p/865280#M102849</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-04-03T13:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a toolbar script that runs "Save script to data table"?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-a-toolbar-script-that-runs-quot-Save-script-to-data/m-p/865318#M102852</link>
      <description>&lt;P&gt;That worked nicely! I went for the All Objects variant. Many thanks &lt;A href="mailto:f@jthi" target="_blank" rel="noopener"&gt;@jthi&lt;/A&gt;&amp;nbsp;for always being fast and helpful!&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 14:21:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-a-toolbar-script-that-runs-quot-Save-script-to-data/m-p/865318#M102852</guid>
      <dc:creator>Ake</dc:creator>
      <dc:date>2025-04-03T14:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a toolbar script that runs "Save script to data table"?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-a-toolbar-script-that-runs-quot-Save-script-to-data/m-p/865346#M102858</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/19220"&gt;@Ake&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;
&lt;P&gt;Glad the talk was inspiring!&amp;nbsp;&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;&amp;nbsp;once again has provided a great scripting option but I was wondering if the build in toolbar "Report" would also work for you.&amp;nbsp; It has a "Save Script to Data table" button in it.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shampton82_0-1743694063108.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/74556i388E4CC84A9996B0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shampton82_0-1743694063108.png" alt="shampton82_0-1743694063108.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 15:28:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-a-toolbar-script-that-runs-quot-Save-script-to-data/m-p/865346#M102858</guid>
      <dc:creator>shampton82</dc:creator>
      <dc:date>2025-04-03T15:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a toolbar script that runs "Save script to data table"?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-a-toolbar-script-that-runs-quot-Save-script-to-data/m-p/865351#M102860</link>
      <description>&lt;P&gt;That is even better as it will be much more robust than trying to tinker with as it uses the built-in command.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit: I did remember that you could run those built-in commands also somehow, and it was via Main Menu (if you for some reason wish to script it)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_3-1743694649705.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/74560i9EFBC202D5263AA6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_3-1743694649705.png" alt="jthi_3-1743694649705.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Main Menu("PLATFORM:SAVE SCRIPT:SAVE SCRIPT TO DATA TABLE")&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1743694427442.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/74559iFF45635F8D1490FE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_2-1743694427442.png" alt="jthi_2-1743694427442.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 15:37:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-a-toolbar-script-that-runs-quot-Save-script-to-data/m-p/865351#M102860</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-04-03T15:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a toolbar script that runs "Save script to data table"?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-a-toolbar-script-that-runs-quot-Save-script-to-data/m-p/865730#M102877</link>
      <description>&lt;P&gt;Thanks for the input! I will try both methods (built-in two-click and scripted one-click) to see what sticks! Thanks a lot to both&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/16391"&gt;@shampton82&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt; for never failing support!&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2025 09:52:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-a-toolbar-script-that-runs-quot-Save-script-to-data/m-p/865730#M102877</guid>
      <dc:creator>Ake</dc:creator>
      <dc:date>2025-04-04T09:52:11Z</dc:date>
    </item>
  </channel>
</rss>

