#892 closed Feature Request (Rejected)
Request for ControlGetColor, ControlGetBkColor
Reported by: | tony_balony_1960@… | Owned by: | |
---|---|---|---|
Milestone: | Component: | AutoIt | |
Version: | Severity: | None | |
Keywords: | ControlGetColor ControlGetBkColor WinGetColor WinGetBkColor | Cc: |
Description
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.
Attachments (0)
Change History (2)
comment:1 Changed 16 years ago by Valik
- Resolution set to Rejected
- Status changed from new to closed
- Version 3.3.0.0 deleted
comment:2 Changed 16 years ago by anonymous
Gee, aweful nice of you to take as much time as I did in making this request.
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
There is no standard way of retrieving color information.