Re: [python-win32] handle is invalid?

2009-07-22 Thread reehdus
ahha...that would explain a lot...nope...roger's method was excellent...I was trying this out before I saw his recipe. I see...well...pardon my ignorance since I'm pretty new at Python...it didn't really occur to me that FindWindow was redundant. Well, now I know better...hahaha. Thanks! Tim Rob

Re: [python-win32] handle is invalid?

2009-07-22 Thread Tim Roberts
sudheer sivathasan wrote: > Hey guys, > > Another quick question. I'm still trying to do the thing in the email > below. But this time im trying to use the win32api.GetModuleFileName > function. It requires a PyHandle as an input which I think I've > managed to get by using the function handle =

[python-win32] handle is invalid?

2009-07-21 Thread sudheer sivathasan
Hey guys, Another quick question. I'm still trying to do the thing in the email below. But this time im trying to use the win32api.GetModuleFileName function. It requires a PyHandle as an input which I think I've managed to get by using the function handle = w.FindWindow(0,str(w.GetWindowTe