lilljimpa
Joined: 18 Apr 2007 Posts: 80
|
Posted: Thu Mar 20, 2008 8:31 am Post subject: |
|
|
i have mad one by myself many times
| Code: |
;; -specified region- --color--
PixelSearch, Px, Py, 200, 200, 300, 300, 0x9d6346, 3, Fast
if ErrorLevel
MsgBox, That color was not found in the specified region.
else
mouseclick, %Px%, %Py% |
and then i use this to get the color over the mouse
| Code: | ^!z:: ;;Control+Alt+Z hotkey.
MouseGetPos, MouseX, MouseY
PixelGetColor, color, %MouseX%, %MouseY%
MsgBox The color at the current cursor position is %color%.
return |
you can get read all about it here
PixelGetColor and PixelSearch |
|