<?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 Add a Script to Data Table at a Specific Order with JSL in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Add-a-Script-to-Data-Table-at-a-Specific-Order-with-JSL/m-p/390424#M64053</link>
    <description>&lt;P&gt;You can use JSL to add a script to a data table using the "Add Properties to Table()" or "Add Scripts to Table()" message.&amp;nbsp; By default, this appends the added script to end of the list of scripts (at the bottom in the table properties pane).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to put the script at a specific order location in the list of saved scripts?&amp;nbsp; For example, adding the script so it as at the top of the list of scripts saved to the table.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 19:48:33 GMT</pubDate>
    <dc:creator>MathStatChem</dc:creator>
    <dc:date>2023-06-09T19:48:33Z</dc:date>
    <item>
      <title>Add a Script to Data Table at a Specific Order with JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Add-a-Script-to-Data-Table-at-a-Specific-Order-with-JSL/m-p/390424#M64053</link>
      <description>&lt;P&gt;You can use JSL to add a script to a data table using the "Add Properties to Table()" or "Add Scripts to Table()" message.&amp;nbsp; By default, this appends the added script to end of the list of scripts (at the bottom in the table properties pane).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to put the script at a specific order location in the list of saved scripts?&amp;nbsp; For example, adding the script so it as at the top of the list of scripts saved to the table.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 19:48:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Add-a-Script-to-Data-Table-at-a-Specific-Order-with-JSL/m-p/390424#M64053</guid>
      <dc:creator>MathStatChem</dc:creator>
      <dc:date>2023-06-09T19:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: Add a Script to Data Table at a Specific Order with JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Add-a-Script-to-Data-Table-at-a-Specific-Order-with-JSL/m-p/390442#M64055</link>
      <description>&lt;P&gt;I think that you can add the new script. It will be appended to the bottom of the list of table scripts. Then you can select it and move it where you want it to be.&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 );

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

script name = dt &amp;lt;&amp;lt; Get Table Script Names;

dt &amp;lt;&amp;lt; New Script( "Bivariate Orhtogonal Fit",
	Bivariate(
		Y( :weight ),
		X( :height ),
		Fit Orthogonal( 1 )
	)	
);

dt &amp;lt;&amp;lt; Move Selected Scripts(
	{ "Bivariate Orhtogonal Fit" },
	After( "Bivariate" )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 04 Jun 2021 14:03:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Add-a-Script-to-Data-Table-at-a-Specific-Order-with-JSL/m-p/390442#M64055</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2021-06-04T14:03:35Z</dc:date>
    </item>
  </channel>
</rss>

