[SOLVED] Bug in Active Window Info version 1.1.22.09

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
wiens
Posts: 26
Joined: 08 Dec 2015, 05:22

[SOLVED] Bug in Active Window Info version 1.1.22.09

08 Dec 2015, 05:41

[Moderator's note: Topic moved from Bug Reports.]

Hello,

There is a bug in the color sequence order in the standalone program Active Window Info (aka AU3_Spy.exe), see screenshot below.
Bug AU3_Spy.png
The color sequence order should be Blue - Green - Red instead of Red - Green - Blue

This bug exist in file version 1.1.22.09.
HotKeyIt
Posts: 2364
Joined: 29 Sep 2013, 18:35
Contact:

Re: Bug in Active Window Info version 1.1.22.09

08 Dec 2015, 06:04

Why do you think it should be BGR?
It clearly shows that it is RGB.
User avatar
jNizM
Posts: 3183
Joined: 30 Sep 2013, 01:33
Contact:

Re: Bug in Active Window Info version 1.1.22.09

08 Dec 2015, 06:06

Nope, why? It's RGB (Red Green Blue).
Tested with 2 tools (values are correct in RGB format)

edit: too late :P
[AHK] v2.0.5 | [WIN] 11 Pro (Version 22H2) | [GitHub] Profile
wiens
Posts: 26
Joined: 08 Dec 2015, 05:22

Re: Bug in Active Window Info version 1.1.22.09

08 Dec 2015, 13:49

RGB is common use, but the AHK compiler 1.1.22.09 needs to be fixed then. It uses Blue-Green-Red.
guest3456
Posts: 3462
Joined: 09 Oct 2013, 10:31

Re: Bug in Active Window Info version 1.1.22.09

08 Dec 2015, 15:46

the "compiler" uses BGR? that makes no sense

maybe he means something like PixelGetColor uses BGR format, but thats plainly documented on the help page

https://www.autohotkey.com/docs/command ... tColor.htm

wiens
Posts: 26
Joined: 08 Dec 2015, 05:22

Re: Bug in Active Window Info version 1.1.22.09

08 Dec 2015, 16:25

I am using PixelGetColor for getting the color. I think also that the issue lies in the PixelGetColor in the compiler.
If I switch it to BGR the color is correct.
HotKeyIt
Posts: 2364
Joined: 29 Sep 2013, 18:35
Contact:

Re: Bug in Active Window Info version 1.1.22.09

08 Dec 2015, 17:25

PixelGetColor is the same in AutoHotkey.exe and AutoHotkeySC.bin.
Please explain exactly what you do, did you read documentation, to get RGB you need to specify it in options! PixelGetColor, OutputVar, X, Y,RGB
wiens
Posts: 26
Joined: 08 Dec 2015, 05:22

Re: Bug in Active Window Info version 1.1.22.09

08 Dec 2015, 17:58

I know the error now. I did use:
PixelGetColor, OutputVar, X, Y
So it got swapped.

It should be like this:
PixelGetColor, OutputVar, X, Y, RGB

Topic can be closed. This is not a bug.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: ntepa, vanove and 165 guests