Patrick Li wrote: > Hi, > > I am trying to write a program that will perform some operation on the > user's computer when the user launches a particular executable(s) on the > computer and when the user closes them.
To a limited extent you can do this with WMI. Have a look here for an example: http://timgolden.me.uk/python/wmi_cookbook.html#watch_notepad TJG _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32