I have been attemtping to use WaitUntilIdle and no matter what, the active window always seems to return True, as though the window is Idle even though it is processing. Could this be because processing is running in the background and the window is idle ?
We came across a similar problem. Our application was becoming active before processes were finished. The solution that we used was to use a 'DO UNTIL' loop which checks to see if a menu is active or if it is greyed out. The Menu only becomes active when our process is finished.