<?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 Run a script from the clipboard in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Run-a-script-from-the-clipboard/m-p/459281#M70433</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I was wondering if I am able to run a script from code stored in the clipboard.&amp;nbsp; So let say that I made a graph builder chart and saved the script to the clipboard.&amp;nbsp; Could I have a script then run what is in the clipboard?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How I would like to use this is if I'm working in one table and make a chart I like and have a similar table to it but with different data, I'd like to be able to save the script of the GB to the clipboard and then have a script in my toolbar I can press to then run the copied script on my second data table to make the same GB chart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know there are lots of ways to accomplish this already but they all involve more button clicking then I want to do!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any ideas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 18:10:20 GMT</pubDate>
    <dc:creator>shampton82</dc:creator>
    <dc:date>2023-06-09T18:10:20Z</dc:date>
    <item>
      <title>Run a script from the clipboard</title>
      <link>https://community.jmp.com/t5/Discussions/Run-a-script-from-the-clipboard/m-p/459281#M70433</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I was wondering if I am able to run a script from code stored in the clipboard.&amp;nbsp; So let say that I made a graph builder chart and saved the script to the clipboard.&amp;nbsp; Could I have a script then run what is in the clipboard?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How I would like to use this is if I'm working in one table and make a chart I like and have a similar table to it but with different data, I'd like to be able to save the script of the GB to the clipboard and then have a script in my toolbar I can press to then run the copied script on my second data table to make the same GB chart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know there are lots of ways to accomplish this already but they all involve more button clicking then I want to do!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any ideas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 18:10:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Run-a-script-from-the-clipboard/m-p/459281#M70433</guid>
      <dc:creator>shampton82</dc:creator>
      <dc:date>2023-06-09T18:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Run a script from the clipboard</title>
      <link>https://community.jmp.com/t5/Discussions/Run-a-script-from-the-clipboard/m-p/459322#M70435</link>
      <description>&lt;P&gt;Get Clipboard() returns clipboard as string, so you should be able to do it with Eval(Parse())&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Eval(Parse(Get Clipboard()));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I would most likely add some error handling to the toolbar script&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 19:16:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Run-a-script-from-the-clipboard/m-p/459322#M70435</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-02-08T19:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Run a script from the clipboard</title>
      <link>https://community.jmp.com/t5/Discussions/Run-a-script-from-the-clipboard/m-p/459324#M70437</link>
      <description>&lt;P&gt;Worked perfect! Thanks for the quick reply.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 19:33:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Run-a-script-from-the-clipboard/m-p/459324#M70437</guid>
      <dc:creator>shampton82</dc:creator>
      <dc:date>2022-02-08T19:33:29Z</dc:date>
    </item>
  </channel>
</rss>

