[python-win32] Trying to grab exe of foreground window

Tim Roberts timr at probo.com
Thu Jul 23 19:06:01 CEST 2009


reehdus wrote:
>  
>       I see...I tried looking for documentation onw win32con to see what I
> needed but I couldn't muster up anything. All i got were
> win32con.PROCESS_TERMINATE and process query information so I assumed one of
> this was what I needed. Again...thanks so much for enlightening me.
>   

Remember that virtually all of the calls in the "win32" modules are
direct mappings to the Win32 APIs of the same name.  For the most part,
the best source of technical information is the MSDN pages for the
APIs.  You sometimes have to spend a few minutes trying to map the C
parameters into Python code, but once you get the pattern, that's not so
hard.

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the python-win32 mailing list