Thomas Heller wrote: > Christian K. schrieb: >>> Second, if you are running the exact sample that I posted then it should >>> work >>> for InternetExplorer, and with slight changes also for Outlook. At least >>> it worked for me. >> Well, here it doesn't. > > comtypes uses fairly extensive logging calls in certain areas. You can > enable this > to find out the reason. Here is a little code snippet that shows what > happens on > my system when I call GetEvents() with Internet Explorer: > > <code> > from comtypes.client import CreateObject, GetEvents > import logging > ie = CreateObject("InternetExplorer.Application") > logging.basicConfig(level=logging.DEBUG) > GetEvents(ie, sink=object()) > <code/>
Thank you very much for all your help so far. I'll be quiet for the next two weeks since I'm out of town. Christian _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32