Code: Select all
PixelSearch, endX, endY, %topleftX%, %topleftY%, %bottomrightX%, %bottomrightY%, Ox65DFF1, 0, BGR, Slow
Code: Select all
PixelSearch, endX, endY, %topleftX%, %topleftY%, %bottomrightX%, %bottomrightY%, Ox65DFF1, 0, BGR, Slow
Code: Select all
^!z:: ; Control+Alt+Z hotkey.
MouseGetPos, MouseX, MouseY
PixelGetColor, color, %MouseX%, %MouseY%
MsgBox The color at the current cursor position is %color%.
return
Code: Select all
coordmode ,pixel
coordmode, mouse
topleftX:=0
toplefty:=0
bottomrightX:=a_screenwidth
bottomrighty:=a_screenheight
Gui, +alwaysontop
gui, font ,s30 cF1DF65 ; color is et in RGB
Gui, add,text,w200 ,.
gui,show,
return
f3::
tooltip
PixelSearch, endX, endY, %topleftX% , %topleftY% , %bottomrightX% , %bottomrightY% , 0x65DFF1,0 , Fast
if errorlevel
msgbox %errorlevel%
else
mousemove ,% endX ,% endy
ToolTip, % endX " " endy
return
guiclose:
exitapp
Users browsing this forum: No registered users and 88 guests