[jawsscripts] Re: Scripting Avaya One-X Agent

  • From: "John Robichaud" <John_Robichaud@xxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Mon, 4 Nov 2013 16:49:35 -0500

Bram,
After creating an accessible tree with:
var object builder = createObjectEx("FreedomSci.AccessibleTree", False,
"AccessibleObjectTools.x.manifest"),
    object o = builder.Build(hCallWindow),
How do you navigate that tree? I'm not finding any objects with names when I
experiment with o.firstChild or o.nextSibliing etc.
John

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Bram Duvigneau
Sent: Friday, October 25, 2013 3:01 AM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: Scripting Avaya One-X Agent

Hello,
I recently scripted another Avaya product and only got access to the
controls through UIA. Please see the simple function below that I used to
display incoming call notifications in a message box:

Void Function HandleIncomingCall ()
var object builder = createObjectEx("FreedomSci.AccessibleTree", False,
"AccessibleObjectTools.x.manifest"),
    object o = builder.Build(hCallWindow),
    String title,
    String callType,
    String caller,
    String message

    let o = o.firstChild

    let title = FormatString("%1", o.Name)
   
    let o = o.nextSibling
    let o = o.nextSibling
    let o = o.nextSibling
    let callType = o.Name

    let o = o.nextSibling
    let caller = o.Name
   
    let message = FormatString("%1: %2", callType, caller)

    ExMessageBox (message, title, MB_OK) EndFunction


Good luck,

Bram
On 25-10-2013 6:18, Jitendra wrote:
> Well, I don't know if you can get any fruit out of it, but Dlee.org 
> and download the audio player scripts from there, and look the time 
> module code, if you have several windows, you may reach them, and for 
> MSAA, you may download the skype scripts, and examine the code to work 
> with objects.
> if it does not help, and the software is trial or free to download, I 
> can try helping you.
> Thanks, Jitendra, India.
> John Robichaud wrote:
>> Wondering if anyone has attempted scripting Avaya One-X Agent version
2.5.
>> This is a telphone control system.
>> Although Avaya's controls are spoken accurately when tabbing through 
>> the interface, I've been unsuccessful in creating scripts to provide 
>> direct access to each control.
>>
>> Using Jaws script utility mode, all controls exhibit the same handle 
>> and control ID.  Class throughout is given as 
>> HwndWrapper[OneXAgentUI.exe;;7b95d218-e604].  Utility mode does give 
>> an unique Object ID, Object Name, and Object Type for each control 
>> but I've not been able to use that info to reach the controls. Can 
>> anyone suggest an approach?
>>
>> John Robichaud
>>
>>
>>
>> __________�
>>
>> View the list's information and change your settings at 
>> http://www.freelists.org/list/jawsscripts
>>
>>
>>   
>
> --- Disclaimer --- The information in this mail is confidential and is 
> intended solely for addressee. Access to this mail by anyone else is 
> unauthorised. Copying or further distribution beyond the original 
> recipient may be unlawful. Any opinion expressed in this mail is that 
> of sender and does not necessarily reflect that of State Bank group. 
> --- __________�
>
> View the list's information and change your settings at 
> http://www.freelists.org/list/jawsscripts
>



__________�

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

__________�

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

Other related posts: