[jawsscripts] Re: how to use MSAA
- From: "InthaneElf" <inthaneelf@xxxxxxxxxxxxxx>
- To: <jawsscripts@xxxxxxxxxxxxx>
- Date: Fri, 10 Oct 2008 15:55:59 -0700
ok, first, I like others undoubtedly, have been waiting for "someone else
who knows more about it" to reply, which can turn into a seemingly "there
ignoring me" situation, so I apologize for that, your not being ignored,
just us scratching our heads and waiting to see if someone knows more than
"we" do.
the only assistance I can offer, myself, is that I have a set of accessible
MSAA documents available on my "grab bag" site (see URL under my name) for
easy access, in word format. if you want to try them, but need or would
prefer another format, just let me know and I'll translate them for you;
that and there may be some scripting tools that your unaware of on my
currently jaws, soon to be jaws window eyes and Hal scripting page.
I can only hope that this will be of assistance to you,
inthane
proprietor, The Grab Bag,
for blind computer users and programmers
http://grabbag.alacorncomputer.com
Owner: Alacorn Computer Enterprises
"own the might and majesty of a Alacorn!"
www.alacorncomputer.com
Owner: Agemtree
"merchants in fine facetted and cabochon gemstones"
www.agemtree.com
operator: Fruit Basket Demo Sight, where you can find a similar project done
in several programming languages, along with its source code, so you can
decide what language is right for you
http://fruitbasketdemo.alacorncomputer.com
----- Original Message -----
From: "Cohn, Jonathan C [IT]" <Jonathan.C.Cohn@xxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Friday, October 10, 2008 10:24 AM
Subject: [jawsscripts] how to use MSAA
> OK this is my third attempt at getting a response .
> I am working with office communicator and there appears to be only one
> "window" in the main application window that lets one change their status,
> search for a contact and change status.
>
> I took large portions of the MSN scripts and have gotten them to work.
> They mostly depend on various events like FocusChangeEvent,
> ActiveItemChangeEvent, and
>
> ValueChangedEvent .
>
>
>
> In the "Contact List" there are several ListBoxItems most of these have a
> "Contact Presence", object that I can see with bx (and activate the
> associated button). This "Contact Presence", has a subObject that lists
> how long the associated contact will be available but I can not figure out
> how to navigate down to this grandchild of the MSAA object that has focus.
>
>
>
> Any help would be greatly appreciated.
>
>
>
> Jon
>
>
>
>
>
> script TestListBoxItem()
>
> ;test the object to see if it is list box item and try to print proper
> state.
>
> var
>
> handle hwin,
>
> string sText,
>
> string sValue,
>
> string sParentObjectName,
>
> int iObjType,
>
> int iSubType,
>
> handle
>
> iFocusObject ,
>
> handle iObject
>
> SayInteger(100)
>
> let hwin = GetFocus ()
>
> If GlobalWindowClass ==cwc_DirectUIHWND Then
>
> let iObjType=GetObjectSubTypeCode()
>
> If iObjType==WT_LISTBOXITEM Then
>
> if ! giIsInContactList then
>
> let sParentObjectName = GetObjectName (true, 1)
>
> IF ! StringCompare (sParentObjectName , "Contact List", true) THEN
>
> let giIsInContactList=true
>
>
>
> sayString(sText)
>
> endif
>
> ENDIF
>
> IF giIsInContactList THEN
>
> sayString(navGetObjectName (navGetFirstChildObjectID
> (navGetCurrentObjectID () ))
>
> )
>
> ENDIF
>
> let
>
> sValue = ""
>
> If GetObjectInfoByName (hwin, "Contact Presence", 1, iSubType, giState,
> sValue) Then
>
> ;
>
> ;;what do I do here to get child objects
>
> sayString(sValue)
>
> let iFocusObject = navGetFocusObjectID ()
>
> SayObjectTypeAndText (iFocusObject)
>
> let iObject = navGetFirstChildObjectID (iFocusObject, hwin)
>
> sayObjectTypeAndText(iObject)
>
> endif
>
> endif ; ListBox Item
>
> endif ; Direct UI
>
> EndScript
>
>
>
> __________
> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>
> View the list's information and change your settings at
> http://www.freelists.org/list/jawsscripts
>
>
__________
Visit and contribute to The JAWS Script Repository http://jawsscripts.com
View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts
- References:
- [jawsscripts] how to use MSAA
- From: Cohn, Jonathan C [IT]
Other related posts:
- [jawsscripts] how to use MSAA
- From: Cohn, Jonathan C [IT]