Title - the window text, such as "Untitled - Notepad" (also the text of edit fields) Exact Title - same as "Title", however the match must be exact in case and length Class - the type of window/control, such as "Button" ID - the identifier of the control, such as "1001" Userdata - internal data of the window, set by the program (this is not the text data) Handle (HWND) - the window handle (assigned by the operating system) Image - the onscreen bitmap of the window/control |

| *Tip:
Do not use Title to identify Text Boxes (Edit Fields), as that will continually change if the text in the box is updated by the user.
|
For program windows, use Title, or Title + Class For controls, use Class + ID + Userdata (plus Title if it's a button) For web links and graphics, use Bitmap Image
|
| *Tip:
Image matching is the overall best method of identifying controls,
and may be the only method for certain items such as graphic web links.
|
| *Tip:
Tools - Display All Windows and Controls is the most useful tool for investigating
windows identification problems.
|
| Window / Control | How to Locate |
![]() |
Title: "OK" Class: "Button" ID: "1001" Userdata: "0" |
![]() |
Title: "123." Class: "Edit" ID: "403" Userdata: "0" |
![]() |
Title: "Microsoft Excel - Book1" Class: "XLMAIN" ID: "0" Userdata: "0" |
![]() |
Title: "Standard" Class: "MsoCommandBar" ID: "0" Userdata: "0" |
![]() |
(web control inside of browser) Recommended Identifier: Image-based For situations that require interacting with web pages, either use Keyboard Commands, or use image-based actions. Using images allows you to interact with the page regardless of the web browser that is used, and regardless of the location of the image on the screen. See Using Images for a full description. For this example, a good "identifying image" would be: ![]() ...and the following command would take the mouse to the login field: ![]() This image-based mouse action will perform the actions that you need at the right location. |
| 1) Exact title match for applications |
| 2) Case insensitive title match for applications |
| 3) Partial title match for applications |
| 4) Exact title matches for popup windows |
| 5) Case insensitive title matches for popup windows |
| 6) Exact title match for any window or control |
| 7) Partial, Case insensitive match for any window or control |
