[python-win32] hwnd of an application sometimes changes ??

2010-02-19 Thread Stef Mientki
hello, I launch an (Delphi) application with subprocess.Popen ( Application, shell=False ) Then with a timer (100 msec), I'm trying to find the applications main window, by looking for the formclass self.App_hwnd = win32gui.FindWindow ( self.Application_Form_Class,

Re: [python-win32] pywin32 documentation wiki

2010-02-19 Thread le dahut
"le dahut" (French) is an imaginary beast that has 2 legs shorter than the other 2. But the difference is between the right and the left legs, it's because this animal lives on mountainsides. This makes its movements easier but it would, however, always moving in the same direction on the same

[python-win32] Python Automation Question

2010-02-19 Thread Roberts, Gregory (Contractor)
We have decided to oset the default printer in a macro which we must run on the excel report and hope that all will work on Monday when in production. I would like to find a python solution which I could refactor into the correct place. Again, my wits with Python still have not formed. Also... I