Re: [python-win32] Help calling a windows function in user32

2010-03-23 Thread Tim Roberts
Richard Leahy wrote: > So basically your saying that if i just use this > > test = windll.user32.FindWindowA(None, "Windows App") > > if not test: > print "[*] cant find window" > > print test // which returns 7471154 the handle > > windll.user32.SetDlgItemTextA(test,1,"test") > > this doesn't

Re: [python-win32] Help calling a windows function in user32

2010-03-23 Thread Tim Roberts
Richard Leahy wrote: > Hi, thank you for your reply. I have tried the FindWindow which works > great how ever It cant find the window i am after. > ... > test = windll.user32.FindWindowA(None, "Windows App") // find the > first window perfectly > > if not test: > print "[*] cant find window" >

Re: [python-win32] Help calling a windows function in user32

2010-03-23 Thread Tim Roberts
You wrote: > >Hey guys im having a little difficulty sending data to my C application >through python. I have my test.exe that has a input box in a window. I >am trying to populate the edit box with input i send to it through >python. This is a far as I have been able to get so far. any help >wou

[python-win32] Help calling a windows function in user32

2010-03-23 Thread Richard Leahy
Hey guys im having a little difficulty sending data to my C application through python. I have my test.exe that has a input box in a window. I am trying to populate the edit box with input i send to it through python. This is a far as I have been able to get so far. any help would be much appre