Having the same shade variation is fine, just as long as I can search both red and blue.
I'll look into it, thanks!
EDIT:
Ok, heres what I have so far:
$pixelr = pixelsearch(-400, 300, 400, -300, 0x110000, 255, 24)
$pixelb = pixelsearch(-400, 300, 400, -300, 0x000011, 255, 24)
If $pixelr = (0,0) then
mousedown("left")
sleep 10
mouseup("left")
soundplay("C:\WINDOWS\Media\Windows XP Default.wav")
endif
If $pixelb = (0,0) then
mousedown("left")
sleep 10
mouseup("left")
soundplay("C:\WINDOWS\Media\Windows XP Default.wav")
endif
But it doesnt seem to work...
What I am trying to get is to have it mousedown for a brief moment when a blue or red pixel is under the mouse (which is always at 0,0)
I am probably overlooking something simple, but if you could take a look at it I would appreciate it.