zutto Posted June 15, 2008 Share Posted June 15, 2008 (edited) yerr, topic says something about my question... pixelsearch searches closest spot from the other corner, but i want it to move the mouse a bit from the spot i make lil sample it clicks to * but i want it to click 0 is that possible somehow? *xxxxxxxxxxxxx xxxxxxxxxxxxxx xxxxoxxxxxxxxx xxxxxxxxxxxxxx xxxxxxxxxxxxxx my script: $i = 99999999 do $coord = PixelSearch( 151, 284, 789, 643, 0x582C53, 10 ) If Not @error Then MouseClick("left", $coord[0],$coord[1], "1") EndIf until $i = 99439429344392432 Edited June 15, 2008 by zutto Link to comment Share on other sites More sharing options...
sandin Posted June 15, 2008 Share Posted June 15, 2008 add some coord to your mouseclick: MouseClick("left", $coord[0]+10,$coord[1]+10, "1");+10 = mouse will click 10 pixels to the right and 10 pixels downwards from the found pixel color Some cool glass and image menu | WinLIRC remote controler | Happy Holidays to all... | Bounce the sun, a game in which you must save the sun from falling by bouncing it back into the sky | Hook Leadtek WinFast TV Card Remote Control Msges | GDI+ sliding toolbar | MIDI Keyboard (early alpha stage, with lots of bugs to fix) | Alt+Tab replacement | CPU Benchmark with pretty GUI | Ini Editor - Edit/Create your ini files with great ease | Window Manager (take total control of your windows) Pretty GUI! | Pop-Up window from a button | Box slider for toolbar | Display sound volume on desktop | Switch hotkeys with mouse scroll Link to comment Share on other sites More sharing options...
zutto Posted June 16, 2008 Author Share Posted June 16, 2008 add some coord to your mouseclick: MouseClick("left", $coord[0]+10,$coord[1]+10, "1");+10 = mouse will click 10 pixels to the right and 10 pixels downwards from the found pixel color omg ty! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now