
Checking if a process is running under NT4 - Using WSH
Checking if a process is running under NT4 - Using WSHWell you could try to use AppActivate in WSH 2 and look to see if it returned True. The better method would be to use WMI and WSH to do this but it's a bit more complicated (Tongue in cheek).
See the AppActivate method in WSH 2.0 Docs, for WMI see the MS Web Site for the Download of WMI and the Docs for it. There are also huge examples installed with the latest NT Resource Kit and there is a sample if I remember right, that does exactly what you're wanting to do.
Good Luck
Shawn
.
I am writing a script to check if applications are running under windows NT4 and I am struggling to find an example that works.
Any help would be greatly appreciated.
Thanks
Kevin