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 difficu

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) > win32api.mouse_event(win32con.MOUSEEVENTF_LEF

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

[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...