Created
September 20, 2013 16:04
-
-
Save zhengkai/6639855 to your computer and use it in GitHub Desktop.
取颜色和 AutoHotKey 坐标
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
colorBoxParam = B CBFFFFFF CT000000 H28 W200 X300 Y10 FM9 | |
Progress, %colorBoxParam%, , parse F11, colorBox, Droid Sans Mono | |
F11:: | |
MouseGetPos, MouseX, MouseY | |
PixelGetColor, color, %MouseX%, %MouseY% | |
showText = %color% at %MouseX%, %MouseY% | |
Progress, , , %showText%, colorBox | |
FileAppend, %showText%`n, %A_ScriptDir%\a.log | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment