han
15 years agoContributor
Check if application has stopped responding
Hello,
How can I check if an application has stopped responding?
Tried using WMI but the status isn't implemeted?!
How can I check if an application has stopped responding?
Tried using WMI but the status isn't implemeted?!
sub status
Set objWMIService = GetObject("winmgmts:\\.\root\CIMV2")
Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_Process" & " WHERE Name = 'Testedapp.exe'")
For Each objItem in colItems
Log.Message(objItem.Status)
Next
end sub