<?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 can I obtain the serial number of the column where the cursor resides using a script? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-can-I-obtain-the-serial-number-of-the-column-where-the/m-p/825918#M100659</link>
    <description>&lt;P&gt;Let's say I select a cell in column 4&lt;BR /&gt;The following code only gets the specific column name, not the serial number of the column :4&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt=Open("$SAMPLE_DATA/Big Class.jmp");

aaa=(dt&amp;lt;&amp;lt;get selected columns)[1];&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025-01-06_15-55-57.png" style="width: 501px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/71708i64A23DAF545CD1C4/image-size/large?v=v2&amp;amp;px=999" role="button" title="2025-01-06_15-55-57.png" alt="2025-01-06_15-55-57.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 06 Jan 2025 08:11:24 GMT</pubDate>
    <dc:creator>lala</dc:creator>
    <dc:date>2025-01-06T08:11:24Z</dc:date>
    <item>
      <title>How can I obtain the serial number of the column where the cursor resides using a script?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-I-obtain-the-serial-number-of-the-column-where-the/m-p/825918#M100659</link>
      <description>&lt;P&gt;Let's say I select a cell in column 4&lt;BR /&gt;The following code only gets the specific column name, not the serial number of the column :4&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt=Open("$SAMPLE_DATA/Big Class.jmp");

aaa=(dt&amp;lt;&amp;lt;get selected columns)[1];&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025-01-06_15-55-57.png" style="width: 501px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/71708i64A23DAF545CD1C4/image-size/large?v=v2&amp;amp;px=999" role="button" title="2025-01-06_15-55-57.png" alt="2025-01-06_15-55-57.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 08:11:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-I-obtain-the-serial-number-of-the-column-where-the/m-p/825918#M100659</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2025-01-06T08:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: How can I obtain the serial number of the column where the cursor resides using a script?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-I-obtain-the-serial-number-of-the-column-where-the/m-p/825926#M100660</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;ab=(dt&amp;lt;&amp;lt;get selected rows)[1];&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;？？&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 08:07:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-I-obtain-the-serial-number-of-the-column-where-the/m-p/825926#M100660</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2025-01-06T08:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: How can I obtain the serial number of the column where the cursor resides using a script?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-I-obtain-the-serial-number-of-the-column-where-the/m-p/825931#M100661</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Contains( dt &amp;lt;&amp;lt; get column names( string ), aaa &amp;lt;&amp;lt; get name );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 06 Jan 2025 09:17:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-I-obtain-the-serial-number-of-the-column-where-the/m-p/825931#M100661</guid>
      <dc:creator>lehaofeng</dc:creator>
      <dc:date>2025-01-06T09:17:24Z</dc:date>
    </item>
  </channel>
</rss>

