Re: [python-win32] pasting from clip-board

2005-04-21 Thread Daniel F
> The code below seems to work. > > def GetClipboardText(): > text = "" > if OpenClipboard(c_int(0)): > hClipMem = GetClipboardData(c_int(CF_TEXT)) > GlobalLock.restype = c_char_p > text = GlobalLock(c_int(hClipMem)) > GlobalUnlock(c_int(hClipMem

Re: [python-win32] pasting from clip-board

2005-04-21 Thread ryan pinto
tic > trailer for the yahoo email. I'm meaning the part > at the end that starts with: "Python-win32 mailing > list ..." > > Thanks for your time. > > Cheers, > Will. > - Original Message - > From: ryan pinto > To: pyt

Re: [python-win32] pasting from clip-board

2005-04-21 Thread Daniel F
> I am new to python WIN-32 and am trying to automate a > word document creation. I am trying to paste clipboard > that I capture from an application to MS Word and I > was wondering if this can be done through python > WIN-32. I am a doing a sequence of tests which saves > simulation results to th

[python-win32] pasting from clip-board

2005-04-21 Thread ryan pinto
Hi Guys, I am new to python WIN-32 and am trying to automate a word document creation. I am trying to paste clipboard that I capture from an application to MS Word and I was wondering if this can be done through python WIN-32. I am a doing a sequence of tests which saves simulation results to the