A sequence like this should get you there.

win32gui.GetForegroundWindow
win32process.GetWindowThreadProcessId
win32api.OpenProcess
win32process.EnumProcessModules
win32process.GetModuleFileNameEx

  hth
        Roger


_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to