Monitor for window name using WMI

G

Guest

I am trying to use WMI to monitor for a window opening with a specific name
using the __InstanceCreationEvent class. I have found a Technet script
example that shows how to monitor for a new process at:
http://www.microsoft.com/technet/scriptcenter/scripts/misc/events/msevvb13.mspx
Unfortunatlly monitoring for a process will not help me because the window
that I am interested in is created by a process that is always running.

Is there a class, instance and name space that can monitor for the creation
of a window with a specific (known) name/title?

Any suggestions are welcome,

Mark A
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top