Wait for Window Object


Pauses the execution of macro until the window object changes to the specified state, or gets/loss its focus.

Parameters

  • Wait for object's state Specifies whether to wait until the window object is enabled or disabled.

  • Wait for object's focus Specifies whether to wait until the window object getting or losing the keyboard focus.

Notes:

  • Some applications use picture or other self-draw controls that may act like standard windows controls but don't support the interfaces required to communicate with them. The find UI object will not work with these controls (UI objects).

  • For time-out options, please refer to "Time out".

  • For more information about locating a UI object, please refer to "Find a UI object".