I'm trying to automate processing of some audio files using Adobe Audition. Unfortunately, Audition doesn't do a very good job for the timing of its dialogs; there are a number of functions where, as the function reaches toward the end of its process, it passes the focus to the main window, but still has a long time to run (up to 45s).
For example, there is a normalization function which on my ancient laptop can take several minutes to run for one audio track. As it reaches toward the end of the track, the dialog shows 100%, the header of the main application window shows as it has regained focus, but the dialog remains on screen for another 30-45s before finally going away. This obviously makes it very difficult to time/trigger the following keystroke. If I simply use WaitWindowClosed with the dialog name or WaitWindowOpen on the main app window, the main window is not ready to accept the following keystroke. Unfortunately there are no text changes on the main app window for me to trigger on

I tried adding long wait (45s), but this is a waste in cases where it is not truly necessary, and I've encountered times where that doesn't seem sufficient. So I was searching for some form of process monitor that would let me know in real time which of the macro step was being processed. This would allow me to watch this at the same time as the application window and find out what's going on.
I thought of trying to redirect log entries to stdout but couldn't figure that out (I'm not a programmer!) Is there any hope for my situation?
Thanks
Xavier