<?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: Can I copy the embedded scripts from one table to another? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Can-I-copy-the-embedded-scripts-from-one-table-to-another/m-p/882627#M104664</link>
    <description>&lt;P&gt;Yes&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt1 = open("$SAMPLE_DATA/Big Class.jmp");
dt2 = open("$SAMPLE_DATA/Big Class Families.jmp");
dt2 &amp;lt;&amp;lt; Delete Scripts(dt2 &amp;lt;&amp;lt; Get Table Script Names);

For Each({sname}, dt1 &amp;lt;&amp;lt; Get Table Script Names,
	s = dt1 &amp;lt;&amp;lt; Get Script(sname);

	Eval(EvalExpr(dt2 &amp;lt;&amp;lt; New Script(sname,
		Expr(NameExpr(s))
	)));	
);

Write();&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 01 Jul 2025 13:14:41 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2025-07-01T13:14:41Z</dc:date>
    <item>
      <title>Can I copy the embedded scripts from one table to another?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-I-copy-the-embedded-scripts-from-one-table-to-another/m-p/882617#M104663</link>
      <description>&lt;P&gt;If I have a parent table with many scripts embedded.&amp;nbsp; Can I copy those easily to a summary table or transposed table automatically using JSL?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jul 2025 13:01:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-I-copy-the-embedded-scripts-from-one-table-to-another/m-p/882617#M104663</guid>
      <dc:creator>SpannerHead</dc:creator>
      <dc:date>2025-07-01T13:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can I copy the embedded scripts from one table to another?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-I-copy-the-embedded-scripts-from-one-table-to-another/m-p/882627#M104664</link>
      <description>&lt;P&gt;Yes&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1); 

dt1 = open("$SAMPLE_DATA/Big Class.jmp");
dt2 = open("$SAMPLE_DATA/Big Class Families.jmp");
dt2 &amp;lt;&amp;lt; Delete Scripts(dt2 &amp;lt;&amp;lt; Get Table Script Names);

For Each({sname}, dt1 &amp;lt;&amp;lt; Get Table Script Names,
	s = dt1 &amp;lt;&amp;lt; Get Script(sname);

	Eval(EvalExpr(dt2 &amp;lt;&amp;lt; New Script(sname,
		Expr(NameExpr(s))
	)));	
);

Write();&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 01 Jul 2025 13:14:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-I-copy-the-embedded-scripts-from-one-table-to-another/m-p/882627#M104664</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-07-01T13:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Can I copy the embedded scripts from one table to another?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-I-copy-the-embedded-scripts-from-one-table-to-another/m-p/882630#M104665</link>
      <description>&lt;P&gt;Jarmo&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Brilliant!&amp;nbsp; You should see the script this replaced!&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jul 2025 14:13:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-I-copy-the-embedded-scripts-from-one-table-to-another/m-p/882630#M104665</guid>
      <dc:creator>SpannerHead</dc:creator>
      <dc:date>2025-07-01T14:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can I copy the embedded scripts from one table to another?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-I-copy-the-embedded-scripts-from-one-table-to-another/m-p/882636#M104666</link>
      <description>&lt;P&gt;This has been a repeated topic in the Discussion Group.&amp;nbsp; A simple search would have provided the answer to you faster and more efficiently that opening a new discussion and waiting for someone to respond.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jul 2025 14:44:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-I-copy-the-embedded-scripts-from-one-table-to-another/m-p/882636#M104666</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2025-07-01T14:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: Can I copy the embedded scripts from one table to another?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-I-copy-the-embedded-scripts-from-one-table-to-another/m-p/882682#M104679</link>
      <description>&lt;P&gt;Jim&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I apologise profusely, it won't happen again!&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jul 2025 17:49:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-I-copy-the-embedded-scripts-from-one-table-to-another/m-p/882682#M104679</guid>
      <dc:creator>SpannerHead</dc:creator>
      <dc:date>2025-07-01T17:49:50Z</dc:date>
    </item>
  </channel>
</rss>

