[jawsscripts] Re: Looping

  • From: "Travis Roth" <travis@xxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Mon, 29 Dec 2014 15:08:49 -0600

Hello,
I have used SayCellUnit(UnitMove_Down) to move to the next row in a table. 
I am not sure if this function returns a true/false to indicate if it is
successful in moving however.
The one thing to know is that SayCellUnit() does not move out of the table
when it has reached the bottom, it remains in the last row.


-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Jim Snowbarger
Sent: Monday, December 29, 2014 2:45 PM
To: jawsscripts@xxxxxxxxxxxxx
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


__________�

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

Other related posts: