<?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 How to create a new script editor with a toolbar in JSL and paste the content of the paste board into the script editor? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-create-a-new-script-editor-with-a-toolbar-in-JSL-and/m-p/686795#M87243</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;txt=Get Clipboard();
New Window( "Example", sb = Script Box( txt ) );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;with a toolbar&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-10-13_14-53-42.png" style="width: 524px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/57567i5DAF42005129581B/image-size/large?v=v2&amp;amp;px=999" role="button" title="2023-10-13_14-53-42.png" alt="2023-10-13_14-53-42.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 13 Oct 2023 06:55:05 GMT</pubDate>
    <dc:creator>lala</dc:creator>
    <dc:date>2023-10-13T06:55:05Z</dc:date>
    <item>
      <title>How to create a new script editor with a toolbar in JSL and paste the content of the paste board into the script editor?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-create-a-new-script-editor-with-a-toolbar-in-JSL-and/m-p/686795#M87243</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;txt=Get Clipboard();
New Window( "Example", sb = Script Box( txt ) );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;with a toolbar&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-10-13_14-53-42.png" style="width: 524px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/57567i5DAF42005129581B/image-size/large?v=v2&amp;amp;px=999" role="button" title="2023-10-13_14-53-42.png" alt="2023-10-13_14-53-42.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 06:55:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-create-a-new-script-editor-with-a-toolbar-in-JSL-and/m-p/686795#M87243</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2023-10-13T06:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a new script editor with a toolbar in JSL and paste the content of the paste board into the script editor?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-create-a-new-script-editor-with-a-toolbar-in-JSL-and/m-p/686836#M87244</link>
      <description>&lt;P&gt;&lt;LI-MESSAGE title="How do I... Make a Custom Toolbar Shortcut? Can I do it with a cat? Yes!" uid="274071" url="https://community.jmp.com/t5/Laura-Higgins-Blog/How-do-I-Make-a-Custom-Toolbar-Shortcut-Can-I-do-it-with-a-cat/m-p/274071#U274071" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.jmp.com/support/help/en/17.0/#page/jmp/customize-jmp-toolbars-and-menus-on-windows.shtml#" target="_blank" rel="noopener"&gt; Using JMP &amp;gt; Customize Menus and Toolbars &amp;gt; Customize JMP Toolbars and Menus on Windows&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.jmp.com/support/help/en/17.0/#page/jmp/create-menu-items-and-toolbar-buttons.shtml#" target="_blank" rel="noopener"&gt; Using JMP &amp;gt; Customize Menus and Toolbars &amp;gt; Customize JMP Toolbars and Menus on Windows &amp;gt; Create Menu Items and Toolbar Buttons&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also I would suggest using script type new window if possible&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

script = Get Clipboard();

ex = New Window("Script example", &amp;lt;&amp;lt;Type("Script"), script);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and if you wish to have the text in current script editor, I have to ask, why wouldn't you just paste it there? This can help with scripting the script editor if needed &lt;A href="https://www.jmp.com/support/help/en/17.0/#page/jmp/scripting-the-script-editor.shtml" target="_blank" rel="noopener"&gt; Scripting Guide &amp;gt; Display Trees &amp;gt; Scripting the Script Editor&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 07:17:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-create-a-new-script-editor-with-a-toolbar-in-JSL-and/m-p/686836#M87244</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-10-13T07:17:16Z</dc:date>
    </item>
  </channel>
</rss>

