Wait for window close
The snippet can automate waiting for the termination of a long process, which is accompanied by any visual mapping of the implementation of the automate program.
For example, this snippet can suspend further execution of the macros until the window, displaying the progress, is present on screen.
Once this window closes, MouseRobot will assume that the process is completed and the macros execution will automatically continue.
Procedure (sequence of steps)
If the macros contains a repetitive sequence of steps, for convenience, they can be moved to a separate block. Then in the right places of macros, you can simply add transitions to this block.
Once you have completed the steps, MouseRobot will automatically continue the task, starting from the step following the step of transition to the block.
The following example demonstrates the use of the snippet "Procedure".