this problem touch all functions where I need to search something on the screen, for example with PixelSearch if I write:
$result = PixelSearch(10,0,100,300, $Color)
the program search the pixel in a wrong area (not in the part of the screen defined from point (10, 0) to (100,300) ); if the computer find the correct color, it return coordinates that doesn't corrispond to nothing. I tryed also with PixelChecksum and in this case the computer searches if there are changes on the screen but in a wrong area ($result = PixelChecksum ($a1[0],$a1[1],$a2[0],$a2[1])) ( the syntax is PixelChecksum($x_of_point1, y_of_point1, $x_of_point2, $y_of_point2) )
a last example is with image search: it makes his duty searching an image in the screen, however it returns wrong coordinates:
(example)
#include <ImageSearch2015.au3>
$x1=0
$y1=0
$result=0
MsgBox(0,"start","start")
func start()
$result = _ImageSearch("C:\folder\image.PNG", 1, $x1, $y1, 150, 0)
if $result=1 Then
MouseMove($x1,$y1,10)
EndFunc