pickle5 Posted July 28, 2008 Share Posted July 28, 2008 Is there a way that you can make the mouse move or click on the spot where you found the pixel? Link to comment Share on other sites More sharing options...
Paulie Posted July 28, 2008 Share Posted July 28, 2008 Is there a way that you can make the mouse move or click on the spot where you found the pixel? $Search = PixelSearch(YOUR, PARAMETERS, GO, HERE, COLOR) If Not @error and IsArray($Search) then MouseClick("Left", $Search[0],$Search[1]) Link to comment Share on other sites More sharing options...
pickle5 Posted July 28, 2008 Author Share Posted July 28, 2008 I'm not sure if this is working because my mouse doesnt move to the colour that I have choosen. Ive tried using "0xC3601D" that colour which is orange but it doesnt go to there. Link to comment Share on other sites More sharing options...
2words4uready Posted July 29, 2008 Share Posted July 29, 2008 (edited) I'm not sure if this is working because my mouse doesnt move to the colour that I have choosen. Ive tried using "0xC3601D" that colour which is orange but it doesnt go to there.try $Search = PixelSearch(0, 0, @desktopwidth, @desktopheight, COLOR) If Not @error and IsArray($Search) then MouseClick("Left", $Search[0],$Search[1]) Edited July 29, 2008 by 2words4uready Link to comment Share on other sites More sharing options...
AdamusTorK Posted July 29, 2008 Share Posted July 29, 2008 and any chanche to find a pixel on a bitmap (not actually on the screen), saved, or not saved or on a hidden window? [quote name='PsaltyDS']so what is your ilegitimate purpose here?[/quote] Link to comment Share on other sites More sharing options...
pickle5 Posted July 29, 2008 Author Share Posted July 29, 2008 and any chanche to find a pixel on a bitmap (not actually on the screen), saved, or not saved or on a hidden window?Nope I dont think so. Link to comment Share on other sites More sharing options...
pickle5 Posted July 29, 2008 Author Share Posted July 29, 2008 Thanks. It actually worked. Link to comment Share on other sites More sharing options...
AdamusTorK Posted July 29, 2008 Share Posted July 29, 2008 (edited) Nope I dont think so.Actually having fun with a script that moves the mouse as I'm moving a LED front of the webcam (notebook-built-in), but I dont want to have the full webcamwindow to cover the full screen, and if I use small resolution then there are problem with the coordination.Any idea to use pixelsearch out of the desktop area or on specified app? ;( Edited July 29, 2008 by AdamusTorK [quote name='PsaltyDS']so what is your ilegitimate purpose here?[/quote] 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