An AI Agent that interacts with Windows OS at GUI level.
Python
IUIAutomationActiveTextPositionChangedEventHandler
IUIAutomationActiveTextPositionChangedEventHandler interface (uiautomationclient.h)
Exposes a method to handle Microsoft UI Automation events that occur when the active text position changes.
Note This interface is implemented by the application to handle events that it has subscribed to by calling AddActiveTextPositionChangedEventHandler.
Inheritance
The IUIAutomationActiveTextPositionChangedEventHandler interface inherits from the IUnknown interface.
Methods
The IUIAutomationActiveTextPositionChangedEventHandler interface has these methods.
| IUIAutomationActiveTextPositionChangedEventHandler::HandleActiveTextPositionChangedEvent Handles a Microsoft UI Automation active text position change event. |
Remarks
Before implementing an event handler, you should be familiar with the threading issues described in Understanding Threading Issues.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 10, version 1809 [desktop apps only] |
| Minimum supported server | Windows Server, version 1709 [desktop apps only] |
| Target Platform | Windows |
| Header | uiautomationclient.h (include UIAutomation.h) |
See also
Event Handling Interfaces for Clients