An AI Agent that interacts with Windows OS at GUI level.
Python
get_FirstSelectedItem
ISelectionProvider2::get_FirstSelectedItem method (uiautomationcore.h)
Gets the first item in a group of selected items.
This property is read-only.
Syntax
HRESULT get_FirstSelectedItem(
IRawElementProviderSimple **retVal
);
Parameters
retVal
Return value
None
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 10, version 1709 [desktop apps |
| Minimum supported server | Windows Server 2016 [desktop apps |
| Target Platform | Windows |
| Header | uiautomationcore.h (include UIAutomation.h) |