[python-win32] Pywin32 copying and pasting via mouse/keyboard

Kashif Ali snake007uk at gmail.com
Tue Dec 9 20:41:19 CET 2014


Hi,

I was helping someone can help me out. I am using the pywin32 module,
however  I can't work out how to get the mouse to highlight specific text
on a webpage and save it into a variable.

I'm making an auto clicker, everything seems to be fine I can click on
browser url bar, enter a url etc... But if I wanted to select text I don't
know how to, then I would like for it save that into a variable, which I
can use to work out next steps.

for example, copy a number from the webpage put it into the clipboard then
transfer it into a variable to do some arithmetic on etc..

any help would be appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20141209/6ce9c865/attachment.html>


More information about the python-win32 mailing list