The array object has a .count property for this starting in JAWS 15. In JAWS 14
it's a .length property, but
in JAWS 14 you also have to call .getElement() to get elements instead of using
a For loop.
On Tue, Dec 20, 2016 at 04:30:19PM +0000, Bob _ wrote:
Hi All
Does anyone know if its possible to tell the size of a FSUIAElementArray
without looping through and counting?
My Code:
Condition =
UIA.CreateBoolPropertyCondition(UIA_SelectionItemIsSelectedPropertyId, UIATrue)
Search = TreeElement.FindAll(Treescope_Children, Condition)
Id like to know how many elements are inside the Search Object before
processing them.
Search always exists even when empty.
Thanks
Bob
__________???
View the list's information and change your settings at
//www.freelists.org/list/jawsscripts
--
Doug Lee, Senior Accessibility Programmer
SSB BART Group - Accessibility-on-Demand
mailto:Doug.Lee@xxxxxxxxxxxxxxxx http://www.ssbbartgroup.com
"While they were saying among themselves it cannot be done,
it was done." --Helen Keller
__________�
View the list's information and change your settings at
//www.freelists.org/list/jawsscripts