[jawsscripts] Re: Looping

  • From: "Jim Snowbarger" <Snowman@xxxxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Mon, 29 Dec 2014 17:05:45 -0600

Right,  the number of rows being dynamic should not be an issue with either 
technique.  If you can query the table for the number of rows at run time, 
then you could adapt to a table of any size on the fly.
The other technique, of looking for a change in the row number would also 
track a dynamically sized table.

----- Original Message ----- 
From: "Marcus Canaday" <marcus.canaday@xxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Monday, December 29, 2014 4:21 PM
Subject: [jawsscripts] Re: Looping


Thanks Jim,

I thought about that, but the number of rows in the table is dynamic. I also
tried the EndOfTable  function, but couldn't get the syntax of the While
statement down.

----- Original Message ----- 
From: "Jim Snowbarger" <snowman@xxxxxxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Monday, December 29, 2014 3:44 PM
Subject: [jawsscripts] Re: Looping


> Can't you obtain the row or column count for the table, and just loop
> until
> all cells are processed?
>
> Another less elegant way is to capture the coordinates of the current
> cell,
> try to move to the next cell, then get the cords again and see if they
> changed.
>
>
> -----Original Message-----
> From: jawsscripts-bounce@xxxxxxxxxxxxx
> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Marcus Canaday
> Sent: Monday, December 29, 2014 9:35 AM
> To: jawsscripts@xxxxxxxxxxxxx
> Subject: [jawsscripts] Looping
>
> Good morning,
> I've developed a script that loops until certain conditions on a web page
> are identified. To avoid an infinite loop, I've set the number of
> iterations
> to 30. This works fine, but I'd like the loop to end when it reaches the
> end
> of a table if the conditions are not found. I've not been able to make
> this
> work ... any suggestions? Thanks.
>
>
>
>
> ---
> This email is free from viruses and malware because avast! Antivirus
> protection is active.
> http://www.avast.com
>
> __________�
>
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts
>
>
>
>
> __________�
>
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts
>


---
This email is free from viruses and malware because avast! Antivirus 
protection is active.
http://www.avast.com

__________�

View the list's information and change your settings at
//www.freelists.org/list/jawsscripts



__________�

View the list's information and change your settings at 
//www.freelists.org/list/jawsscripts

Other related posts: