|
Find UI Object
Searches an UI object on a window such as a push button, menu item, text box, link or page tab. And then you could carry out an action
on the UI object, such as moving the mouse pointer to the object, clicking or double-clicking on the object.
For more information about locating a window, please refer to "Locate a Window".
For more information about carring out a mouse action on the UI object, please refer to "Mouse Action on Object".
Click here to show the figure
Parameters
-
Objec type Specifies the type of object.
-
Object class name must be Specifies whether to check out the object's class name.
-
Object name Specifies whether to check out the object's name.
-
Object value Specifies whether to check out the object's value.
-
Object position must be Specifies whether to check out the object's position. The coordinates
specified are relative to the window (not the screen).
-
Ordinal must be Specifies the ordinal number when there are more than one ojbects returning by the search.
Note:
- Some applications use picture or other self-draw controls that may act like standard windows controls but dot support the interfaces
required to communicate with them. The find UI object will not work with these controls (UI objects).
|