Home Forums General XMetaL Discussion use Java API to check running XMetaL Reply To: use Java API to check running XMetaL

Derek Read

Reply to: use Java API to check running XMetaL

Interesting, so it sounds like your requirement is really to ask XMetaL if it is running when it is not running (which is not going to be possible). Do I understand correctly?

I think you will need try to figure out a way to ask the operating system if it has a process called xmetal60.exe (or other version) running, or perhaps there is a 3rd party “process spying” tool or Java JAR that will let you do that. Such as solution would be the same as for any other software I think, so if you could get it working for something simple like notepad.exe then it should work for XMetaL as well.

I think for your other issue (when you close your Java application) if you want XMetaL Author to be shut down at the same time you will need to call Application.Quit().