Start Word from Java

iMaschine

Neues Mitglied
Hello everybody. Got a little problem by monitoring a process...
i was able to start Word from Java with this code:

Java:
try {
           Runtime rt = Runtime.getRuntime();
            final Process p = rt.exec("C:/Program Files (x86)/Microsoft Office/Office15/WINWORD.EXE");
}
but my aim is it to monitor what happens in this process. Like if somebody creates a new file or saves the modified one.
is there a good and handsome solution ?
thanks everybody
 
Zuletzt bearbeitet von einem Moderator:

Neue Themen


Zurück
Oben