Apple Script - to choose color displays a buttonless headless color wheel Color Picker
I used the information on this post to create a Color Picker on my mac to replace the digital color meter app.
http://www.macosxtips.co.uk/index_files/replace-digitalcolor-meter-in-lion.php
But after I did that, I get a color picker alright, but the buttons on the top that lets me shift between color wheel, color slider, color palletes, image, hex etc dont appear. They appear only when I run the apple script from the apple script editor. When I save the apple script as an app and run it by double clicking it, I just a get开发者_Python百科 simple color wheel with none of the buttons on the top.
I use Mac OS Lion..
Thanks!
EDIT: Adding a screenshot :
I wanted colors as a hex value so I also looked to applescript for a solution. Check out this blog post for a complete example, and also a downloadable applescript application (with a nice icon) that you can customize to your needs. I have tested it with OS X Lion and it seems to work fine.
精彩评论