Platforms to show: All Mac Windows Linux Cross-Platform

Back to UIAutomationMBS class.

UIAutomationMBS.ElementFromHandle(Handle as Integer) as UIAutomationElementMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method UIAutomation MBS WinFrameworks Plugin 26.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Retrieves a UI Automation element for the specified window.

UIAutomationMBS.ElementFromHandleBuildCache(Handle as Integer, cacheRequest as UIAutomationCacheRequestMBS) as UIAutomationElementMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method UIAutomation MBS WinFrameworks Plugin 26.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Retrieves a UI Automation element for the specified window, prefetches the requested properties and control patterns, and stores the prefetched items in the cache.

cacheRequest: the cache request, which specifies the properties and control patterns to store in the cache.

UIAutomationMBS.ElementFromPoint(point as UIAutomationPointMBS) as UIAutomationElementMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method UIAutomation MBS WinFrameworks Plugin 26.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Retrieves the UI Automation element at the specified point on the desktop.

Point: The desktop coordinates of the UI Automation element.

The ElementFromPoint method returns the UIA_E_ELEMENTNOTAVAILABLE error code if the element under the point is already removed by the time the method returns. Clients should handle errors from this method gracefully; for example, by trying the call again.

See also:

UIAutomationMBS.ElementFromPoint(x as Integer, y as Integer) as UIAutomationElementMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method UIAutomation MBS WinFrameworks Plugin 26.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Retrieves the UI Automation element at the specified point on the desktop.

x/y: The desktop coordinates of the UI Automation element.

The ElementFromPoint method returns the UIA_E_ELEMENTNOTAVAILABLE error code if the element under the point is already removed by the time the method returns. Clients should handle errors from this method gracefully; for example, by trying the call again.

See also:

UIAutomationMBS.ElementFromPointBuildCache(point as UIAutomationPointMBS, cacheRequest as UIAutomationCacheRequestMBS) as UIAutomationElementMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method UIAutomation MBS WinFrameworks Plugin 26.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Retrieves the UI Automation element at the specified point on the desktop, prefetches the requested properties and control patterns, and stores the prefetched items in the cache.

Point: The desktop coordinates of the UI Automation element.
CacheRequest: A pointer to the cache request, which specifies the properties and control patterns to store in the cache.

See also:

UIAutomationMBS.ElementFromPointBuildCache(x as Integer, y as Integer, cacheRequest as UIAutomationCacheRequestMBS) as UIAutomationElementMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method UIAutomation MBS WinFrameworks Plugin 26.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Retrieves the UI Automation element at the specified point on the desktop, prefetches the requested properties and control patterns, and stores the prefetched items in the cache.

x/y: The desktop coordinates of the UI Automation element.
CacheRequest: A pointer to the cache request, which specifies the properties and control patterns to store in the cache.

See also:

UIAutomationMBS.ElementFromWindowBuildCache(c as Control, CacheRequest as UIAutomationCacheRequestMBS) as UIAutomationElementMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method UIAutomation MBS WinFrameworks Plugin 26.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Retrieves a UI Automation element for the specified control, prefetches the requested properties and control patterns, and stores the prefetched items in the cache.

cacheRequest: the cache request, which specifies the properties and control patterns to store in the cache.

See also:

UIAutomationMBS.ElementFromWindowBuildCache(c as DesktopUIControl, CacheRequest as UIAutomationCacheRequestMBS) as UIAutomationElementMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method UIAutomation MBS WinFrameworks Plugin 26.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Retrieves a UI Automation element for the specified control, prefetches the requested properties and control patterns, and stores the prefetched items in the cache.

cacheRequest: the cache request, which specifies the properties and control patterns to store in the cache.

See also:

UIAutomationMBS.ElementFromWindowBuildCache(win as DesktopWindow, CacheRequest as UIAutomationCacheRequestMBS) as UIAutomationElementMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method UIAutomation MBS WinFrameworks Plugin 26.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Retrieves a UI Automation element for the specified window, prefetches the requested properties and control patterns, and stores the prefetched items in the cache.

cacheRequest: the cache request, which specifies the properties and control patterns to store in the cache.

See also:

UIAutomationMBS.ElementFromWindowBuildCache(win as Window, CacheRequest as UIAutomationCacheRequestMBS) as UIAutomationElementMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method UIAutomation MBS WinFrameworks Plugin 26.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Retrieves a UI Automation element for the specified window, prefetches the requested properties and control patterns, and stores the prefetched items in the cache.

cacheRequest: the cache request, which specifies the properties and control patterns to store in the cache.

See also:

The items on this page are in the following plugins: MBS WinFrameworks Plugin.


The biggest plugin in space...