How to catch message box information

while during the loading of the application, there is message box pops up describing the progress and other information, is there a way for me to catch those information in the message box? The reporting progress message box won’t stay long – when the loading is done, it goes away automatically, I am not able to see the layout of this UI element.

I am trying to do the same thing, when I am exporting a pdf in indesign i want to read the dialog box so I can return what page it is on to the user. I haven’t been able to get it to work yet. Anyone ever got this to work?