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

2014-12-09 Thread Kashif Ali
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...

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

2014-12-09 Thread Tim Roberts
Kashif Ali wrote: 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

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

2014-12-09 Thread Tim Roberts
Kashif Ali wrote: so when i say auto clicker, I mean using pywin32 and its mouse moving functions and clicking functions: |def click(x,y): win32api.SetCursorPos((x,y)) win32api.mouse_event(win32con.MOUSEEVENTF_LEFTDOWN,x,y,0,0)

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

2014-12-09 Thread Tim Roberts
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

Re: [python-win32] python-win32 Digest, Vol 141, Issue 3

2014-12-09 Thread Blair Hall
Update 2 --- I found a version of py2exe 0.6.10 ( http://www.lfd.uci.edu/~gohlke/pythonlibs/#py2exe), which does not generate a DLL that trys to load zlib.pyd. However, that was not my problem. By using Dependency Walker I can see that, during the registration of the DLL complied on the