You can use this action when you want the Player application to wait for a specific window to Close (or hide from the view).

Wait for Window to Close

Description of the parameters:

number 1 Target Window: The window for which the Player should wait. You can use the percent (%) button to specify this window.

number 2 (Wait Infinite Time (Check Repeatedly as long as Possible: If you select this option, the Macro will wait until the window closes.

number 3 Wait Seconds: By selecting this option and specifying the amount, the Macro will only wait that long for the window to close.

number 4 (No Wait (Check Just One Time: If this option is enabled, the check will only be performed once.