|
Wait for a window
Pauses the execution of macro until a specific window is existed, focused or etc. If the window exists, you can show or focus it.
Click here to show the figure
Parameters
-
Which window Specifies a window to be waiting.
-
Wait for the specific window is Specifies a wait type that will be executed, it can be one of the following:
- existed
- not existed
- focused
- not focused
-
Window action If the window is existed, you can add an action to it, it can be one of the following:
- none
- show
- maximized
- minimized
- restore
-
Return window's handle into Specifies a variable for receiving the handle of window, the window handle can be used in the subsequent action for another purpose.
Notes:
For time-out options, please refer to "Time out".
If the wait type is "not focused" and the window is not existed, the action always succeeds.
|