Hi Dietmar,
Thanks. I lot to it but I'll give it a try.
On 12/1/2021 11:33 AM, Dietmar Schwertberger wrote:
I've been using the code below for 20 years now for text copy & paste.
No guarantees, though.
Regards,
Dietmar
def copy_to_clipboard(text, window_handle=0):
"""copy_to_clipboard
On 12/1/2021 3:07 AM, Tim Roberts wrote:
On 11/30/21 7:04 AM, gw1500 via python-win32 wrote:
Thanks for the reply. I read about that but was hoping to use
pywin32. I can see now the folly of that decision.
I have a working minimal test but am looking for something a bit more
automated. I b
I've been using the code below for 20 years now for text copy & paste.
No guarantees, though.
Regards,
Dietmar
def copy_to_clipboard(text, window_handle=0):
"""copy_to_clipboard(window_handle, text):
copy a string to the clipboard."""
win32clipboard.OpenClipboard(window_handle)
On 11/30/21 7:04 AM, gw1500 via python-win32 wrote:
Thanks for the reply. I read about that but was hoping to use pywin32.
I can see now the folly of that decision.
I have a working minimal test but am looking for something a bit more
automated. I bring my app window to the top using pywin3
Hi Tim,
Thanks for the reply. I read about that but was hoping to use pywin32. I
can see now the folly of that decision.
I have a working minimal test but am looking for something a bit more
automated. I bring my app window to the top using pywin32 and a line I
need is already highlighted. I
Dennis Putnam wrote:
I'm using pywin32 and it is my understanding it can also be used for
copying text from an app to the clipboard. I have been able to find
scant documentation for that. Can someone send me a link to some
definitive documentation? TIA.
The easy way is to use the well-respe
I'm using pywin32 and it is my understanding it can also be used for
copying text from an app to the clipboard. I have been able to find
scant documentation for that. Can someone send me a link to some
definitive documentation? TIA.
OpenPGP_signature
Description: OpenPGP digital signature