GetObjectFromEvent is the JAWS way to emulate AccessibleObjectFromWindow in
MSAA itself. When GetFocusObject doesn't give you enough, GetObjectAtPoint
using getCursorRow/Col for coordinates might. Be careful with that, but it
might sometimes help. You can also call .accFocus on an MSAA object once you
have one, but beware you could get an object or a childID back, or of course
nothing; and you also might get a copy of the object you called it
against I think. In some cases, I've had to call .accFocus repeatedly to get to
the innermost focused object or simple element.
On Tue, Feb 13, 2018 at 11:41:15AM -0600, Snowman wrote:
Bob, you can try:
Let o = getObjectFromEvent (GetFocus(),-4,0,returnedObjectID)
+--------------------------------------------------------------------------+
Listen to The Snowman on MushroomFM.com, Saturday evenings, 8PM Eastern
time.
60's and 70's tunes, and gently conservative talk.
----- Original Message -----
From: "Bob" <temp@xxxxxxxxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Tuesday, February 13, 2018 5:01 AM
Subject: [jawsscripts] Re: MSAA
I have found how to move up down and across the MSAA object tree but I am
struggling to create an object reliably in the first place.
Depending on where focus is GetFocusObject and GetCurrentObject don???t always
return an object.
Does anyone have a reliable method to get a start point in the MSAA tree? I
don???t mind navigating manually once i am in as long as the start is
reliable.
On 12 Feb 2018, at 15:19, Bob <temp@xxxxxxxxxxxxxxx> wrote:
Can anyone point me to some examples on creating, finding and navigating
MSAA objects using Jaws?
I have always avoided using it but it looks like I am going to have to
give myself a crash course in it this week!
Thanks
Bob
__________???
View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts