See the screenshot below - it's slowly opening the document, and I need to know when this "busy" opening state is finished, so that the caption says whatever the doc title actually is. I don't know the doc title in advance so I can't just test for that. Thanks for any pointers/advice.
[Edit] Forgot to say originally: the window title doesn't always change, so that's why I need to detect the "busy" state instead. I only used WordPad as an example to show what I meant by "busy" (as opposed to "Not Responding" which is not always the same thing).



