Jump to content

Recommended Posts

Posted

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.

Posted (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 by 2words4uready
Posted

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]

Posted

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.

Posted (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 by AdamusTorK

[quote name='PsaltyDS']so what is your ilegitimate purpose here?[/quote]

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...