Hello from Barcelona.
First of all let me thank to you for sharing your work with all of us.
I though that I was starting to be an average Autoit user... but I'm stuck with you FastFind

I have a Full screen GUI with an ActiveX object (an offline webpage) that shows a webcam stream on screen:
Over everything I have a transparent gui and I have drawed the borders of the transparent gui using gdi+ to make it more visible. The gui is resizable and can be moved, so it visualy shows the limits of the area I want to search pixels inside:
$Guipeque = GUICreate("minigui", 100, 50, 300, 200, $WS_POPUPWINDOW, $WS_EX_LAYERED + $GUI_WS_EX_PARENTDRAG, WinGetHandle(AutoItWinGetTitle()))
WinSetOnTop($Guipeque, "minigui", 1)
GUISetBkColor(0xABCDEF)
_WinAPI_SetLayeredWindowAttributes($Guipeque, 0xABCDEF, 255)
Global $size = WinGetPos("minigui")
GUISetState(@SW_SHOW)
$medicion = 0
$size = WinGetPos("minigui")
Local $Guipeque, $hGraphic, $hPen
; Draw line
_GDIPlus_Startup()
$hGraphic = _GDIPlus_GraphicsCreateFromHWND($Guipeque)
$hPen = _GDIPlus_PenCreate(0xC4FF0000, 5)
_GDIPlus_GraphicsDrawLine($hGraphic, 1, 1, 1, $size[3], $hPen)
_GDIPlus_GraphicsDrawLine($hGraphic, 1, 1, $size[2] - 5, 1, $hPen)
_GDIPlus_GraphicsDrawLine($hGraphic, 1, $size[3] - 5, $size[2], $size[3] - 5, $hPen)
_GDIPlus_GraphicsDrawLine($hGraphic, $size[2] - 5, $size[3] - 5, $size[2] - 5, 0, $hPen)
Sleep(10)
_GDIPlus_PenDispose($hPen)
_GDIPlus_GraphicsDispose($hGraphic)
_GDIPlus_Shutdown()
It looks like:

The html file is the webcam stream running the sobel operator on real time.
I want to look for pixels only inside the transparent gui. I tried to do :
$size = WinGetPos("minigui")
FFSnapShot
($size[0], $size[1], $size[2], $size[3])
$coord1 = FFBestSpot
(3, 2, 3,$size[0] + $size[2],$size[1] + $size[3]/2,0xFFFFFF, 1)
If Not @error Then
MouseMove($coord1[0], $coord1[1], 0);I move the mouse to the found pixels)
EndIf
But I always get:

And:

And the mouse point correctly the nearest pixels next to the right side of the transparent gui.
But if I put the mug outside the transparent gui the mouse also points to the nearest pixels, even if they are outside the transparent gui

What do I'm doing wrong?
Is there any chance of getting an error when there are not any white pixel inside the transparent gui?
Is there any way of look for any color except one? (for me it would be easier to look for anything different from black.
Thanks again.
Greets from Barcelona