Re: UIAEventIdsToNVDAEventNames - missing events


In the past, certain events were excluded out of performance concerns (the
most notable one being text change event). IN theory, you can add events to
that dictionary and instruct UIA handler object/thread to keep an eye on the
new event (this is how Windows 10 App Essentials add-on adds missing
events). If your willing, I'll let you see what I just described in action
with Windows 10 App Essentials add-on 19.11 in November, or if you want,
take a look at:

-----Original Message-----
From: <> On Behalf Of Karl-Otto
Sent: Thursday, October 17, 2019 1:08 PM
Subject: [nvda-devel] UIAEventIdsToNVDAEventNames - missing events

I'm digging around in the NVDA source in order to understand how it works
and I was hoping on beeing able to use the general UIAutumationEvent to hook
into the UIA_Selection_InvalidatedEvent but after finding the
IUIAutomationEventHandler_HandleAutomationEvent event handler in my hopes drained.

if not NVDAEventName:

The UIAEventIdsToNVDAEventNames dictionary doesn't contain the event id I
was looking for and therefore I think I'm stuck.

Is that a correct observation or can I hook into the general UIAutomation
event a different way?
Could anyone explain why the mentioned dictionary is limited to a certain
set of event ids and thus limiting the developers who would like to extend

Hopefully it's my lack of knowledge of Python and NVDA programming that
comes to light here.

Kind regards


Karl-Otto Rosenqvist
Orgnr: 750804-3937
0701- 75 98 56

Join to automatically receive all group messages.