danielbrthwt Posted September 8, 2011 Share Posted September 8, 2011 I'm looking for a module that would allow me to write a program in python that can move the cursor and also left click. I'm also looking for a module that can tell the color of pixels at specified locations Can anyone help ? Quote Link to comment Share on other sites More sharing options...
HacDan Posted September 14, 2011 Share Posted September 14, 2011 Sure, I'll help you write an aim-bot in python! </sarcasm> But seriously, you're gonna have to scrape the screen, run the image through processing to put the pixels in an array, I'd recommend chunking it to lighten the load. After that you can search each array for whatever it is you're looking for. In regards to moving the mouse, not sure. You could generate input and dump it through the mouse port I'm sure. Would be easier on Linux than Windows I would assume, but I haven't looked into it. Outside of that, I know of no modules for moving the mouse to position x,y and clicking. Quote Link to comment Share on other sites More sharing options...
danielbrthwt Posted September 15, 2011 Author Share Posted September 15, 2011 Thanks i have been looking for a screen scraper but i havent had much luck but ill keep looking Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.