[jawsscripts] UIA FindFirst vs FindAll

  • From: Bob <temp@xxxxxxxxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Mon, 12 Feb 2018 13:57:30 +0000

Hi All

I am trying to offer a user a selection of buttons from a toolbar.
Each screen tends to have two toolbars

If I do:

Condition = UIA.CreateIntPropertyCondition(UIA_ControlTypePropertyID, 
UIA_ToolBarControlTypeID)
Results = MainObject.FindFirst(TreeScope_Subtree, Condition)

I find the first toolbar

However if I change it to:
Results = MainObject.FindAll(TreeScope_Subtree, Condition)

Then I get zero results.

I have tried different element types such as TabItems and I get the same 
behaviour.

In case it makes a difference this is using Jaws 18 on 32-bit Windows 7.

Thanks for any ideas!

Bob

__________�

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

Other related posts: