Color of a screen pixel: Difference between revisions
Content added Content deleted
(originated with autohotkey) |
|||
Line 3: | Line 3: | ||
=={{header|AutoHotkey}}== |
=={{header|AutoHotkey}}== |
||
<lang AutoHotkey> |
<lang AutoHotkey> |
||
loop, 200 |
|||
{ |
|||
MouseGetPos, MouseX, MouseY |
MouseGetPos, MouseX, MouseY |
||
PixelGetColor, color, %MouseX%, %MouseY% |
PixelGetColor, color, %MouseX%, %MouseY% |
||
TrayTip, color, color at the current cursor is %color%. |
|||
sleep, 500 |
|||
} |
|||
</lang> |
</lang> |
||