Pixel Search bug

Report problems with documented functionality
User avatar
nnnik
Posts: 4500
Joined: 30 Sep 2013, 01:01
Location: Germany

Pixel Search bug

09 Jan 2014, 17:10

Correct me if Im wrong, but the OutputVarX/Y variables of the PixelSearch command should be empty if no match was found right?
But that doesnt seem to be the case as long as you use fast mode:

Code: Select all

PixelSearch, x, y, 470, 400, 480, 712, 0x555555, 0, Fast
MsgBox, %x%, %y%
PixelSearch, x, y, 470, 400, 480, 712, 0x555555, 0
MsgBox, %x%, %y%
Recommends AHK Studio
User avatar
nnnik
Posts: 4500
Joined: 30 Sep 2013, 01:01
Location: Germany

Re: Pixel Search bug

10 Jan 2014, 11:31

Is anybody else receiving an Msgbox with the value 470, 713?
Recommends AHK Studio
just me
Posts: 9763
Joined: 02 Oct 2013, 08:51
Location: Germany

Re: Pixel Search bug

10 Jan 2014, 11:53

Yes, I confirm (Win XP - AHK 1.1.13.00 U32).

Edit: But ErrorLevel is 1.
User avatar
smorgasbord
Posts: 493
Joined: 30 Sep 2013, 09:34

Re: Pixel Search bug

10 Jan 2014, 12:44

470, 613713
,
On win 7, version 1.1.13.01

:?
Last edited by smorgasbord on 10 Jan 2014, 22:48, edited 1 time in total.
John ... you working ?
User avatar
nnnik
Posts: 4500
Joined: 30 Sep 2013, 01:01
Location: Germany

Re: Pixel Search bug

10 Jan 2014, 14:09

Are you sure that it is 613?
Recommends AHK Studio
User avatar
smorgasbord
Posts: 493
Joined: 30 Sep 2013, 09:34

Re: Pixel Search bug

10 Jan 2014, 22:52

@nnnik
yes
amended.
John ... you working ?
User avatar
nnnik
Posts: 4500
Joined: 30 Sep 2013, 01:01
Location: Germany

Re: Pixel Search bug

12 Jan 2014, 15:29

OK .This seems to be a bug.
Recommends AHK Studio
User avatar
Grendahl
Posts: 170
Joined: 30 Sep 2013, 08:21

Re: Pixel Search bug

13 Jan 2014, 14:52

470, 713
ErrorLevel 1
Win7 Ent x64 and Win7 Pro x64
AHK v1.1.11.00 (Unicode 64-bit)
lexikos
Posts: 9780
Joined: 30 Sep 2013, 04:07
Contact:

Re: Pixel Search bug

14 Jan 2014, 05:24

It'll be fixed in the next release.

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 18 guests