Queue-cmd
Delay the execution of the script.
queue {script}
Place the script at the end of the current window message queue. Execution begins when the current window finishes redrawing.