Set Text of UI Object


Changes the text of the specified UI object. If the specified UI object is an edit control, the value of the control is changed. However, not all UI objects support setting text, it depends on the target application.

Parameters

  • Text Specifies the text to be placed into the UI object.

Notes

  • Some applications use picture or other self-draw controls that may act like standard windows controls but do not support the interfaces required to communicate with them. This action will not work with these controls (UI objects).
  • For more information about locating a UI object , please refer to "Find a UI object".
  • For more information about the tab "Which Window", please refer to "Locate a window".