> 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
Hi Everyone, William
I found quite a lot of code on capturing text from the
clip-board and pasting it. But couldnt find any
information on pasting screenshots into MS-WORD.
This seems to work fine for pasting text
def GetClipboardText():
text = ""
if OpenClipboard(c_int(0)):
> 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