 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
Gre Guest
|
Posted: Sun Oct 10, 2004 5:17 am Post subject: Utility to help pixel search |
|
|
Search for that exact pixel in small areas like the tray may be a pain.
This free small app turns the task very easy.
| Quote: |
Color Grabber is a simple utility that magnifies the selected part of the screen and displays both decimal and hexadecimal
values of a color of a pixel to which the mouse cursor is pointing.
Download Size: 8 K
|
You can find color grabber here
http://www.diplodock.com/Downloads/free.asp |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10464
|
Posted: Sun Oct 10, 2004 1:17 pm Post subject: |
|
|
| Very nice. Thanks. |
|
| Back to top |
|
 |
Gre Guest
|
Posted: Mon Oct 11, 2004 2:06 am Post subject: |
|
|
And if the only think you want is the pixel info, you may want to try this script.
It will put screen coord, relative coord,color, and wintitle into the clipboard.
| Code: |
SetWinDelay, 10
SetTimer, molog,10
Return
molog:
CoordMode, Mouse, Screen
MouseGetPos, ?msX, ?msY, ?mWin
CoordMode, Mouse, Relative
WinActivate, ahk_id %?mWin%
MouseGetPos, ?mrX, ?mrY
PixelGetColor, ?cor, %?mrX%, %?mrY%
?toolX = %?msX%
?toolX += 20
?toolY = %?msy%
?toolY += 20
ToolTip, on, %?toolX%, %?toolY%
Return
^#g::
BlockInput, On
WinGetTitle, ?title, ahk_id %?mWin%
If ?title =
?title = "null" use Class name instead.
WinGetClass, ?class, ahk_id %?mWin%
ClipBoard =
Clipboard = [ Color= %?cor% / X:screen=%?msX% / Y:screen= %?msY% / X:relative=%?mrX% / Y:relative= %?mrY% / Window title= %?title% / Window class name= ahk_class %?class% / Window unique ID= ahk_id %?mWin% ]
BlockInput, Off
SetTimer, molog, Off
MsgBox, The following data had been placed in clipboard.`n`n`nColor= %?cor%`nX:screen= %?msX%`nY:screen= %?msY%`nX:relative= %?mrX%`nY:relative= %?mrY%`nWindow title= %?title%`nWindow class name= ahk_class %?class%`nWindow ID= ahk_id %?mWin%
SetTimer, molog, On
Return
#k::ExitApp
|
|
|
| Back to top |
|
 |
jack
Joined: 04 Sep 2004 Posts: 74 Location: UK
|
|
| Back to top |
|
 |
Gre Guest
|
Posted: Mon Oct 11, 2004 12:51 pm Post subject: |
|
|
Well, I was a little precipitated posting the first code...
This one seems better.
| Code: |
SetWinDelay, 10
SetTimer, molog,10
Return
molog:
CoordMode, Mouse, Screen
MouseGetPos, ?msX, ?msY, ?mWin
?toolX = %?msX%
?toolX += 20
?toolY = %?msy%
?toolY += 20
ToolTip, on, %?toolX%, %?toolY%
Return
^#g::
BlockInput, On
CoordMode, Mouse, Relative
WinActivate, ahk_id %?mWin%
WinGetTitle, ?title, ahk_id %?mWin%
MouseGetPos, ?mrX, ?mrY
PixelGetColor, ?cor, %?mrX%, %?mrY%
If ?title =
?title = "null" use Class name instead.
WinGetClass, ?class, ahk_id %?mWin%
ClipBoard =
Clipboard = `;Color= %?cor% `n`;X:screen=%?msX% / Y:screen= %?msY%`n`;X:relative=%?mrX% / Y:relative= %?mrY% `n`;Window title= %?title% `n`;Window class name= ahk_class %?class%`n`;Window unique ID= ahk_id %?mWin%
BlockInput, Off
SetTimer, molog, Off
MsgBox, The following data had been placed in clipboard.`n`n`nColor= %?cor%`nX:screen= %?msX%`nY:screen= %?msY%`nX:relative= %?mrX%`nY:relative= %?mrY%`nWindow title= %?title%`nWindow class name= ahk_class %?class%`nWindow ID= ahk_id %?mWin%
SetTimer, molog, On
Return
#k::
ExitApp
|
Yes jack they are really good.
What I liked about color grabber is the file size (8K) and the possibility to use it with
a simple script. |
|
| Back to top |
|
 |
BoBo Guest
|
Posted: Mon Oct 11, 2004 12:52 pm Post subject: |
|
|
| Quote: | Pixie
Version: 3.1
Platform: Windows 95/98/Me/NT/2000/XP
Price: FREE
Pixie is an easy-to-use, fast and tiny utility designed especially to fit the needs of Webmasters and Designers. Its a colour picker that includes a mouse tracker. Run it, simply point to a colour and it will tell you the hex, RGB, HTML, CMYK and HSV values of that colour. You can then use these values to reproduce the selected colour in your favorite programs. Pixie will also show the current x y position of your mouse pointer. Its the only tool you'll need for working with colours.
[Download Pixie] ( zip, 62Kb, xum32: F9F8428B ) |
|
|
| Back to top |
|
 |
Tekl
Joined: 24 Sep 2004 Posts: 813 Location: Germany
|
|
| Back to top |
|
 |
beardboy
Joined: 02 Mar 2004 Posts: 444 Location: SLC, Utah
|
Posted: Mon Oct 18, 2004 3:52 pm Post subject: |
|
|
If you use PSPad as your editor, it has a Color Translator, and Color Eyedropper you can use under tools.
thanks,
beardboy |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|