Hello Mark, I have found a nice function which waits for a window, before my code continues to run. Perhaps it is one for your?

[code]
import pywinauto
from pywinauto import findwindows
...

def WaitUniqueWindow(window):
   
    while True:
        try:
            window.ctrl_()
        except pywinauto.findwindows.WindowAmbiguousError:
            time.sleep(1)
        else:
            break

...
WaitUniqueWindow(app['Backup Progress']['Close'])
app['Backup Progress']['Close'].Click()
...
[/code]