An AI Agent that interacts with Windows OS at GUI level.
Python
get_CachedItemCount
IUIAutomationSelectionPattern2::get_CachedItemCount method (uiautomationclient.h)
Gets a cached integer value indicating the number of selected items.
This property is read/write.
Syntax
HRESULT get_CachedItemCount(
int *retVal
);
Parameters
retVal
Return value
None
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 10, version 1709 [desktop apps only] |
| Minimum supported server | Windows Server 2016 [desktop apps only] |
| Target Platform | Windows |
| Header | uiautomationclient.h (include UIAutomation.h) |
See also
IUIAutomationSelectionPattern2