[python-win32] Problem with Python win32com while loading facebook homepage

2009-07-24 Thread Adrien LEMAIRE
Hi dear members of the python-win32 python mailing list, I'm trying to connect to my facebook account.. I'd like to automate some tasks like closing applications requests, and why not automate task for application games of facebook, if I arrive to do this. But I can't arrive to connect to homepag

Re: [python-win32] trying to grab exe of foreground window

2009-07-24 Thread reehdus
Awesome, thanks Eric, Roger and Tim for your help. Everything's been working fine so far. Here's what I've been using. It works on Vista too but I have admin access to that though. t,p = win32process.GetWindowThreadProcessId(hwnd)#find out PID to window handle = win32api.OpenProcess(win32con.PRO

Re: [python-win32] trying to grab exe of foreground window

2009-07-24 Thread Michel Claveau
Hi, Eric! Below, derived from your code, an exemple for to found modules in memory (useful for "scan memory" with clamwin, or other usages) @-salutations -- Michel Claveau import win32api,win32con,win32process,win32security # Request privileges to enable "debug process", so we can later us