<?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 do I implement this &amp;quot;Copy With Column Names&amp;quot; operation with JSL? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-I-implement-this-quot-Copy-With-Column-Names-quot/m-p/69976#M35136</link>
    <description>&lt;P&gt;I searched the Scripting Index for possible commands Copy with Column Names, and did not find an answer&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; Help==&amp;gt;Scripting Index==&amp;gt;Clipboard&lt;/P&gt;
&lt;P&gt;I also tried using the Main Menu() function, that will bring up many of the commands from the Pull &lt;STRIKE&gt;Down menus, but it did not work either.&lt;/STRIKE&gt;(See MS response below)&lt;/P&gt;
&lt;P&gt;What are you planning to use the information you have copied into the Clipboard?&amp;nbsp; There may be a solution if you could explain what you are going to be doing.&lt;/P&gt;</description>
    <pubDate>Tue, 28 Aug 2018 11:25:08 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2018-08-28T11:25:08Z</dc:date>
    <item>
      <title>How do I implement this "Copy With Column Names" operation with JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-implement-this-quot-Copy-With-Column-Names-quot/m-p/69965#M35133</link>
      <description>&lt;P&gt;I did not find the manual. I tried：&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dt &amp;lt;&amp;lt; GetEditCopyLabel;&lt;BR /&gt;dt &amp;lt;&amp;lt; GetEditCopyWithColumnNames;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;but it was not successful.Thank you very much!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2018-08-27_17-43-03.png" style="width: 725px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/12176i468BD4351F2FAE63/image-size/large?v=v2&amp;amp;px=999" role="button" title="2018-08-27_17-43-03.png" alt="2018-08-27_17-43-03.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Aug 2018 09:52:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-implement-this-quot-Copy-With-Column-Names-quot/m-p/69965#M35133</guid>
      <dc:creator>lwx228</dc:creator>
      <dc:date>2018-08-26T09:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do I implement this "Copy With Column Names" operation with JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-implement-this-quot-Copy-With-Column-Names-quot/m-p/69966#M35134</link>
      <description>Just copy data and column names to the paste board, thanks!</description>
      <pubDate>Sun, 26 Aug 2018 10:35:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-implement-this-quot-Copy-With-Column-Names-quot/m-p/69966#M35134</guid>
      <dc:creator>lwx228</dc:creator>
      <dc:date>2018-08-26T10:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I implement this "Copy With Column Names" operation with JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-implement-this-quot-Copy-With-Column-Names-quot/m-p/69976#M35136</link>
      <description>&lt;P&gt;I searched the Scripting Index for possible commands Copy with Column Names, and did not find an answer&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; Help==&amp;gt;Scripting Index==&amp;gt;Clipboard&lt;/P&gt;
&lt;P&gt;I also tried using the Main Menu() function, that will bring up many of the commands from the Pull &lt;STRIKE&gt;Down menus, but it did not work either.&lt;/STRIKE&gt;(See MS response below)&lt;/P&gt;
&lt;P&gt;What are you planning to use the information you have copied into the Clipboard?&amp;nbsp; There may be a solution if you could explain what you are going to be doing.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2018 11:25:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-implement-this-quot-Copy-With-Column-Names-quot/m-p/69976#M35136</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-08-28T11:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do I implement this "Copy With Column Names" operation with JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-implement-this-quot-Copy-With-Column-Names-quot/m-p/69977#M35137</link>
      <description>I see. I'm not going to do that.&lt;BR /&gt;I am ready to transfer the results of JMP processing to excel and use VBA to further extract the desired results. VBA is very skilled.&lt;BR /&gt;Thank Jim!</description>
      <pubDate>Sun, 26 Aug 2018 13:07:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-implement-this-quot-Copy-With-Column-Names-quot/m-p/69977#M35137</guid>
      <dc:creator>lwx228</dc:creator>
      <dc:date>2018-08-26T13:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do I implement this "Copy With Column Names" operation with JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-implement-this-quot-Copy-With-Column-Names-quot/m-p/70031#M35143</link>
      <description>&lt;P&gt;As Jim stated, it is not clear what you are trying to do.&lt;/P&gt;&lt;P&gt;If you want a copy of the entire table:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;CTRL+SHIFT+C , then CTRL+N (for a new table), then CTRL+SHIFT+V&amp;nbsp; (simultaneous) keystrokes.&lt;/LI&gt;&lt;LI&gt;Table Subset can subset all rows and all columns Main Menu&amp;gt;Subset or using a script&lt;/LI&gt;&lt;/UL&gt;&lt;UL&gt;&lt;LI&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;current data table() &amp;lt;&amp;lt; subset(All Rows, All Columns);&lt;/CODE&gt;&lt;/PRE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Aug 2018 07:44:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-implement-this-quot-Copy-With-Column-Names-quot/m-p/70031#M35143</guid>
      <dc:creator>gzmorgan0</dc:creator>
      <dc:date>2018-08-27T07:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do I implement this "Copy With Column Names" operation with JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-implement-this-quot-Copy-With-Column-Names-quot/m-p/70032#M35144</link>
      <description>&lt;P&gt;Main Menu() should work. But before execution&amp;nbsp;the data table must be moved to the front. Otherwise, "copy with column names" is&amp;nbsp;not&amp;nbsp;available&amp;nbsp;in the Edit Menu.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this!&amp;nbsp;(works in JMP 14 for Mac, possibly in other&amp;nbsp;versions too)&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;// Before running, select columns and rows of interest, or deselect all to copy the whole table to clipboard
Current Data Table() &amp;lt;&amp;lt; Bring Window To Front;
Wait(0);
Main Menu("Copy With Column Names");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Aug 2018 08:00:11 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-implement-this-quot-Copy-With-Column-Names-quot/m-p/70032#M35144</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2018-08-27T08:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do I implement this "Copy With Column Names" operation with JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-implement-this-quot-Copy-With-Column-Names-quot/m-p/70034#M35145</link>
      <description>It worked, thank you!</description>
      <pubDate>Mon, 27 Aug 2018 08:29:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-implement-this-quot-Copy-With-Column-Names-quot/m-p/70034#M35145</guid>
      <dc:creator>lwx228</dc:creator>
      <dc:date>2018-08-27T08:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do I implement this "Copy With Column Names" operation with JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-implement-this-quot-Copy-With-Column-Names-quot/m-p/70285#M35193</link>
      <description>&lt;P&gt;Please give me the guidance again:&lt;/P&gt;&lt;P&gt;How to copy R square data table in this decision tree report in the form of Main Menu(), thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2018-08-23_21-30-06.png" style="width: 725px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/12200i5B949A237A7C5F91/image-size/large?v=v2&amp;amp;px=999" role="button" title="2018-08-23_21-30-06.png" alt="2018-08-23_21-30-06.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2018 11:15:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-implement-this-quot-Copy-With-Column-Names-quot/m-p/70285#M35193</guid>
      <dc:creator>lwx228</dc:creator>
      <dc:date>2018-08-28T11:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I implement this "Copy With Column Names" operation with JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-implement-this-quot-Copy-With-Column-Names-quot/m-p/70286#M35194</link>
      <description>&lt;P&gt;With luck,&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/182"&gt;@ms&lt;/a&gt; may have a method using Main Menu().&lt;/P&gt;
&lt;P&gt;However, the Copy Table option from a Table Box() is a universal option in JMP for any given table box in a report output.&amp;nbsp; And in many cases, there are multiple table boxes in a given display.&amp;nbsp; The method that I use to access a particular table box from a given report output from a JMP Platform, is to reference the Tree Structure&amp;nbsp;table box that I need information from, and then sent it the message "&amp;lt;&amp;lt; Copy Data" (See Help==&amp;gt;Books==&amp;gt;Scripting Index==&amp;gt;Display Trees).&amp;nbsp; The JSL below illustrates that method&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\Boston Housing.jmp" );
pp = dt &amp;lt;&amp;lt; Partition(
	Y( :mvalue ),
	X(
		:crim,
		:zn,
		:indus,
		:chas,
		:nox,
		:rooms,
		:age,
		:distance,
		:radial,
		:tax,
		:pt,
		:b,
		:lstat
	),
	Split Best( 3 )
);

Report( pp )[Table Box( 1 )] &amp;lt;&amp;lt; copy data;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 28 Aug 2018 12:00:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-implement-this-quot-Copy-With-Column-Names-quot/m-p/70286#M35194</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-08-28T12:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do I implement this "Copy With Column Names" operation with JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-implement-this-quot-Copy-With-Column-Names-quot/m-p/70287#M35195</link>
      <description>Yes, just like that. More efficient, thanks Jim!</description>
      <pubDate>Tue, 28 Aug 2018 12:08:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-implement-this-quot-Copy-With-Column-Names-quot/m-p/70287#M35195</guid>
      <dc:creator>lwx228</dc:creator>
      <dc:date>2018-08-28T12:08:10Z</dc:date>
    </item>
  </channel>
</rss>

