Hi
I have a program running an occasionally there an error message pops up that is undesirable. I would like to write a WinBatch program that looks for that Error Message and records some key measures, maybe memory usage, a print screen, etc. Anyone have any ideas about how to get started? Thanks
I suppose you could write a script that waits until the window appears:WinWaitExist. You can get system data using wmi, WinSysInfo and Snapshot for a print screen.
If the error window is not a top level window Winbatch may not be able to detect it. You should verify that Winbatch can detect the window.
Quote from: George Vagenas on February 28, 2014, 10:07:49 PM
If the error window is not a top level window Winbatch may not be able to detect it. You should verify that Winbatch can detect the window.
See WinWaitChild.