communicating with non-Delphi apps?

Does anyone know how to test if another app, like MS Word, is already
open, before attempting to create another instance?

Also, where can I find the appropriate commands to work with external
apps like Word and Excel?

Thank you!

David