UIClick


 

UIClick>Window Title,Object Name

 

Not supported in Macro Scheduler Lite.

 

Performs the default action of the specified accessible UI element for the given window.  E.g. for a button this would usually be a click.

 

Use UIAccessibleList, the Find Object Wizard or View System Windows Tool to identify accessible visible UI elements.

 

Window title can be a full case sensitive title or case insensitive substring if followed by the '*' character.  A handle can be specified if WIN_USEHANDLE is set to 1 or if WIN_REGEX is set to 1 a regular expression can be used.  See SetFocus for more info.

 

Note that to invoke menu items the parent window usually needs to be focused first (use SetFocus). Also sub-menu items are often not "accessible" and therefore cannot be accessed with the UI functions. Note that the item also has to be visible before it can be "clicked", so for e.g. sub menu items that are accessible you may first need to use UIClick on the parent menu item.

 

Abbreviation: UIC

 

See Also: UIAccessibleList, UIFocus, UIGetValue, UIPos, UISelect, UISetValue