[jawsscripts] Re: Avaya again

  • From: Soronel Haetir <soronel.haetir@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Fri, 15 Nov 2013 14:17:56 -0900

The only thing I can see in IaccessibleObject that might help would be
using the ClickablePoint member to get the coordinates of the button
and then perhaps the jaws ClickAtPoint function.

There is also the ClickObjectByName function, which might be easier if
the button has a name assigned.

On 11/15/13, John Robichaud <John_Robichaud@xxxxxxxxxxx> wrote:
> Using the AccessibleTree approach that Jitendra & Doug offered I can now
> navigate to the targeted button object that I want but have not been able
> to
> click it using a script. I determined the navigation path using the Inspect
> tool.  My code  is below:
>
>
> ;returns Accessible Tree object
>
> Object Function BuildAccessibleTree ()
>
> Let gOBuilder = CreateObjectEx("FreedomSci.AccessibleTree", False,
> "AccessibleObjectTools.x.manifest")
>
>                 If gOBuilder then
>
>                                 return
> gOBuilder.Build(GetAppMainWindow(GetFocus()))
>
>                 EndIf
>
> return 0
>
> EndFunction
>
>
>
> Script ClickButton () ;Ctrl+1
>
> var object o
>
> Let o = BuildAccessibleTree()
>
> If (!o) then
>
>                                 return
>
>                 EndIf
>
> Let o =
> o.firstChild.nextSibling.nextSibling.nextSibling.firstChild.firstChild.nextS
> ibling
>
>                 SayString(o.Name)
>
>                 o.click
>
> EndScript
>
>
>
> I've tried many variations on click including press & LeftMouseButton but
> nothing works. Suggestions?
>
> John
>
>
>
>
>
>
>
> __________�
>
> View the list's information and change your settings at
> http://www.freelists.org/list/jawsscripts
>
>


-- 
Soronel Haetir
soronel.haetir@xxxxxxxxx
__________�

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

Other related posts: