Application monitoring

how to control external applications (eg notepad / word / exce / media players ..) from java

+1


a source to share


2 answers


If you run them yourself with help Runtime

, you can probably track them this way.

But, if they are running outside of your control, WMI is how I'll go.



The Win32_Process class is the one you are looking for and this page details how to do it in Java / JACOB (Java COM Bridge).

+2


a source


I don't know what exactly you mean by control, and I am assuming you mean the Windows platform. The only way to do something like this is to use a COM interface. Take a look at the JACOB project .



0


a source







All Articles