Training
Module
Use Power Automate for desktop to interact with windows and applications - Training
Learn how Power Automate for desktop identifies and interacts with UI elements and windows.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
This topic describes cursors for purposes of MSAA UI Element Reference. How to use cursors in various UI frameworks is not described here. See the API reference documentation for the UI framework you're using.
A cursor is a small picture whose location on the screen is controlled by a pointing device, such as a mouse, pen, or trackball. When the user moves the pointing device, the Windows operating system moves the cursor.
A cursor supports the following IAccessible methods:
A cursor supports the following IAccessible properties:
get_accChildCount—The ChildCount property is zero.
get_accName—Developers can create custom cursors or use the predefined cursors that are identified by their cursor ID. The Name property of the cursor depends on its shape and is one of the following:
Cursor shape | Name |
---|---|
Custom cursor | "Unknown" |
IDC_ARROW | "Normal" |
IDC_IBEAM | "Edit" |
IDC_WAIT | "Wait" |
IDC_CROSS | "Graphic" |
IDC_UPARROW | "Up" |
IDC_SIZENWSE | "NWSE size" |
IDC_SIZENESW | "NESW size" |
IDC_SIZEWE | "Horizontal size" |
IDC_SIZENS | "Vertical size" |
IDC_SIZEALL | "Move" |
IDC_NO | "Forbidden" |
IDC_APPSTARTING | "App start" |
IDC_HELP | "Help" |
get_accRole—The Role property is ROLE_SYSTEM_CURSOR.
get_accState—The State property is a combination of one or more of the following values:
Training
Module
Use Power Automate for desktop to interact with windows and applications - Training
Learn how Power Automate for desktop identifies and interacts with UI elements and windows.