<?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: List region - how to detect bottom of the list? in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/List-region-how-to-detect-bottom-of-the-list/m-p/98960#M46608</link>
    <description>&lt;P&gt;Hi Chris,&lt;/P&gt;
&lt;P&gt;On the last question: Depending on what the 'junk data' looks like that you get back, you could check if some letters are present. Even words that should be there can be checked. Obviously, if the 'junk data' is a mixture that also contains letter, this does not work. Unfortunately, while we have functions for&amp;nbsp;&lt;CODE&gt;IsNumber()&lt;/CODE&gt; and &lt;CODE&gt;IsDate()&lt;/CODE&gt;, no function &lt;CODE&gt;IsAlphaNumeric()&lt;/CODE&gt; exists.&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;Happy coding!&lt;BR /&gt;Paul&lt;BR /&gt;Sweden&lt;/P&gt;</description>
    <pubDate>Mon, 15 Jan 2024 12:11:09 GMT</pubDate>
    <dc:creator>PvD_SE</dc:creator>
    <dc:date>2024-01-15T12:11:09Z</dc:date>
    <item>
      <title>List region - how to detect bottom of the list?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/List-region-how-to-detect-bottom-of-the-list/m-p/98959#M46607</link>
      <description>&lt;P&gt;I am using Recognize Text on an application to read a few columns.&amp;nbsp; These are identified as List Region's.&amp;nbsp; The text is coming back fine - but my problem is when it gets past the bottom/end of the list.&amp;nbsp; I am not sure how to detect I hit the end.&lt;/P&gt;
&lt;P&gt;The application does not have any indication of how many rows are available.&amp;nbsp; There could be 10 rows, could be 1000.&amp;nbsp; I am searching for a specific entry in the list - if it finds it, it will double-click on the entry so it can go to the next step.&amp;nbsp; If it does not find the entry, it will throw an exception saying it did not find the entry.&lt;/P&gt;
&lt;P&gt;If there are more than 26 items returned, I do have a check in place.&amp;nbsp; I am incrementing the Element - so when it gets to 26, I know the table is showing max rows.&amp;nbsp; It then presses the cursor down, reads row 26, etc.&amp;nbsp; I am checking to see if it has duplicate values.&amp;nbsp; If yes, down arrow did not do anything to the screen and I am at the bottom.&lt;/P&gt;
&lt;P&gt;If there are only 10 (anything less than 26), I'm kind of scratching my head over how to detect the bottom.&amp;nbsp; Recognize text will come back with junk data.&amp;nbsp; One though - I can see if the data is alpha-numeric?&amp;nbsp; If yes, I probably have data.&amp;nbsp; If not, I likely went past the bottom of the table.&lt;/P&gt;
&lt;P&gt;Any thoughts on this?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 21:15:12 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/List-region-how-to-detect-bottom-of-the-list/m-p/98959#M46607</guid>
      <dc:creator>ChrisRider</dc:creator>
      <dc:date>2024-01-12T21:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: List region - how to detect bottom of the list?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/List-region-how-to-detect-bottom-of-the-list/m-p/98960#M46608</link>
      <description>&lt;P&gt;Hi Chris,&lt;/P&gt;
&lt;P&gt;On the last question: Depending on what the 'junk data' looks like that you get back, you could check if some letters are present. Even words that should be there can be checked. Obviously, if the 'junk data' is a mixture that also contains letter, this does not work. Unfortunately, while we have functions for&amp;nbsp;&lt;CODE&gt;IsNumber()&lt;/CODE&gt; and &lt;CODE&gt;IsDate()&lt;/CODE&gt;, no function &lt;CODE&gt;IsAlphaNumeric()&lt;/CODE&gt; exists.&lt;/P&gt;
&lt;P&gt;
&lt;/P&gt;&lt;P&gt;Happy coding!&lt;BR /&gt;Paul&lt;BR /&gt;Sweden&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2024 12:11:09 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/List-region-how-to-detect-bottom-of-the-list/m-p/98960#M46608</guid>
      <dc:creator>PvD_SE</dc:creator>
      <dc:date>2024-01-15T12:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: List region - how to detect bottom of the list?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/List-region-how-to-detect-bottom-of-the-list/m-p/98961#M46609</link>
      <description>&lt;P&gt;For the application I am working with, I am using the Utilities - String business object, Test Regex Match.&amp;nbsp; I am using this regex: &amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;"[a-zA-Z0-9]+"&lt;/P&gt;
&lt;P class="p1"&gt;The application I am using seems to consistently return data like this when it is past the table:&lt;/P&gt;
&lt;P class="p1"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="36005.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/36012i4B6D8F1A20626BC7/image-size/large?v=v2&amp;amp;px=999" role="button" title="36005.png" alt="36005.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P class="p1"&gt;Since those characters do not match the regex, it comes back as false.&amp;nbsp; I then have a check to see if it is true/false.&amp;nbsp; If false, I am assuming I am past the bottom of the table I am using recognize text one.&amp;nbsp; I then throw an exception so I know what happened.&amp;nbsp; In my case, it means it did not find what it was looking for in the table and it was past the bottom of the list.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2024 14:00:58 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/List-region-how-to-detect-bottom-of-the-list/m-p/98961#M46609</guid>
      <dc:creator>ChrisRider</dc:creator>
      <dc:date>2024-01-16T14:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: List region - how to detect bottom of the list?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/List-region-how-to-detect-bottom-of-the-list/m-p/98962#M46610</link>
      <description>&lt;P&gt;Hi Chris - one option is to capture an image of the cell you're reading and test if it contains only the background colour (implying the cell is empty and you've gone past the last row). This is an awkward technique however, because you have to accurately move the region down row by row. I haven't checked in a while but I don't think the List Region provides a 'get images' option, so you'd need a second region that dynamically moves downwards. As I said, awkward.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2024 16:23:31 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/List-region-how-to-detect-bottom-of-the-list/m-p/98962#M46610</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2024-01-16T16:23:31Z</dc:date>
    </item>
  </channel>
</rss>

