Skip to content

An AI Agent that interacts with Windows OS at GUI level.

Python
1.2 KB
Raw Blame

IUIAutomationTextRange2

Original Documentation

IUIAutomationTextRange2 interface (uiautomationclient.h)

Extends the IUIAutomationTextRange interface to enable Microsoft UI Automation clients to programmatically invoke context menus.

Inheritance

The IUIAutomationTextRange2 interface inherits from IUIAutomationTextRange. IUIAutomationTextRange2 also has these types of members:

Methods

The IUIAutomationTextRange2 interface has these methods.

IUIAutomationTextRange2::ShowContextMenu Programmatically invokes a context menu on the target text range.

Requirements

Requirement Value
Minimum supported client Windows 8.1 [desktop apps only]
Minimum supported server Windows Server 2012 R2 [desktop apps only]
Target Platform Windows
Header uiautomationclient.h (include UIAutomation.h)