﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
892	Request for ControlGetColor, ControlGetBkColor	tony_balony_1960@…		"I've seen a bit of call for this and tried many suggestions and even made my own. It works, sort of, but sometimes gives erroneous results. Of course I used PixelSearch for it, what else could I do with an external application. Even tried the WinAPI Redraw Window thingy someone thought up, but it only seems to work locally, (on running autoit apps, not externally). This is what I think would be nice to have:


{{{

ControlGetColor(WinTitle, WinText, ControlHandle)
     Results: Returns the foreground color of a control

ControlGetBkColor(WinTitle, WinText, ControlHandle)
     Results: Returns the background color of a control

WinGetColor(WinTitle, WinText)
     Results: Returns an array of colors for all controls
              in a window, ie: 
                   Array[0][0]=Number of elements
                   Array[1][0]=Control Handle, 1st element
                   Array[1][1]=Background color
                   Array[1][2]=Foreground color
                   Array[2][0]=Control Handle, 2nd element...

WinGetBkColor(WinTitle, WinText)
     Results: Returns the background color of a window
}}}

That's it. That's my 2 cents worth. BTW, I have to mention that I am very grateful and happy for a programming language as versitile, and FREE, as this. Thanks to you guys. Keep up the great work.
"	Feature Request	closed		AutoIt		None	Rejected	ControlGetColor ControlGetBkColor WinGetColor WinGetBkColor	
