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

Tim Roberts timr at probo.com
Wed Dec 10 01:26:59 CET 2014


Kashif Ali wrote:
> I could try to use that logic, left click move right then crtl+c it
> might work.
>
> I am interested in the COM to pull the HTML - however what happens if
> its generated html (java script etc..)

Yep.  There is no perfect solution.  Some web pages intentionally make
it difficult to do what you are attempting.  I always generate email
addresses with Javascript, just so that scummy spammer scrapers can't
easily grab the text.

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the python-win32 mailing list