|
Thu Aug, 26 2004
Mac OS X's Color Picker
The blog codepoetry explores the Color Picker in OS X in great detail, helping us find all the great hidden features found within.
There are ways to use the Color Picker to choose a color anywhere on your screen. You can use external images as a custom palette, and much, much more.
One thing in the Comments is a complaint about having to go into an app's font colors to work with the Color Picker. I wrote a quick little AppleScript that does the job for you. It opens the Color Picker, and will even return a color in {R, G, B] format, if you choose one and press OK.
Here's the code:
set rgbValue to choose color default color {65535, 65535, 65535}
set rValue to item 1 of rgbValue
set gValue to item 2 of rgbValue
set bValue to item 3 of rgbValue
set the clipboard to ("{" & rValue & ", " & gValue & ", " & bValue & "}")
return rgbValue
permanent link | [0] comments (1271 views) |
[0] Trackbacks | [0] Pingbacks




