Make The Color Picker Into A Seperate App 9

Tip

Share
Make The Color Picker Into A Seperate App

Hey

This is a rather cool little trick that I want to share with you. If you have ever used the colour picker on your Mac (a screenshot is below), that little application window that appears every so often, and you want it up more frequently for what ever reason, it can be quite hard to do this. However with a little work around, and using Apple Script, you can create a small application of just the colour picker.

To start, open up AppleScript Editor under Applications > Utilities. Within the editor type the following:

“choose color”

Make sure it is the American version of the word “color” and not (the correct) English/British version “colour”. Once you have typed that one line, go to File > Save As, and give it an appropriate name. From the options at the bottom of the save dialogue box select “Application”. Then hit save. You are then done. Double click the icon to test the application, and you should notice the colour picker window open up and you have ti running in it’s on application.

If you want to make the app a little bit more authentic, you can set its own icon. This is simple. Find an appropriate image, I think this one is useful. Copy it to your clipboard. Then select the colour picker app you have just created. Right click and Get Info. Then in the top left where the icon is present, press Command + V to paste the image in. voilà, you have finished your app.

A rather simple tutorial for setting up and making your own little app. There is one small problem, to quit the app press the OK or Cancel button at the bottom, this is due to the way the app is normally called and how we have worked around this inital problem. I don’t use the Colour Picker that often, however i’m sure some of you may have a use for it. If you want to learn more about AppleScript I recommend AppleScript: The Definitive Guide or Apple Training Series


If you want to keep up with the latests post from Mac Tricks And Tips I recommend you subscribe to the RSS Feed.

Where To Next?

  • Subscribe To Mac Tricks And Tips

9 Responses to “Make The Color Picker Into A Seperate App”

  1. 1

    You can even set a default color by appending a
    “default color {11245, 36969, 39171}” (in this case, a blueish green)…

    More Info:
    http://www.robinwood.com/Catalog/Technical/OtherTuts/MacColorPicker/MacColorPicker.html

    Comment By Daniel on August 30th, at 8:51 pm

  2. 2

    Hi, just an expression that you’ve been using even before.

    At the end of your text you write “Viola, you have finished your app.”
    Is this on purpose? The correct (French) should be “voilà” which “viola”
    is almost violating.

    Just checking…

    Comment By Timo on August 31st, at 6:51 am

  3. 3

    Thanks for this. Just one problem: I can’t get the application to quit (except for with force quit). Any suggestions?

    Comment By Judith on August 31st, at 12:17 pm

  4. 4

    @Timo, i know it’s voilà but I can never find that symbol.

    @Judith, Press OK, or cancel. I’ll add this to the tut.

    Comment By admin on August 31st, at 12:33 pm

  5. 5

    Hi,

    That’s great! Thanks – I’ve already followed your instructions and set it up without a problem.

    Now… can I do the same thing for the Character Palette?

    —–

    Re the comment about adding accents – it’s really easy to do straight off the keyboard. Just hold down the alt key and press the accent ‘instruction’, release both and then press the vowel you want to put the accent over.

    For example: to add a grave accent: `

    alt` then press e for è
    alt` then press i for ì
    etcetera…

    Similarly, you can create other accents just as easily – in the examples below I’ve just used them over the letter e but you can put them over any vowel:

    alt e then e for é

    alt i then e for ê

    alt u then e for ë

    Note, however, that some instructions just go straight to an specific accented vowel, for example:

    alt o for ø

    alt a for å

    Those are the most common, but there are more – just experiment to find them.

    Comment By Sue on October 25th, at 6:12 pm

  6. 6

    How cool is this!
    Very useful AppleScript and my first bit I have done in yonks!

    Comment By Steve H on December 12th, at 9:17 pm

  7. 7

    Great tip ! Thanks !

    Comment By Serge on December 31st, at 2:19 am

  8. 8

    Nice app. Btw, American “color” dropped the “u” to conform to the original Latin, which itself implies that the UK “colour” (which itself came from French influence) could be interpreted as incorrect, by your presumed definition. Personally, I think pointing out which is right and wrong is kind of pointless…

    Comment By Ron on January 3rd, at 11:34 pm

  9. 9

    @Ron

    The long ō from the Latin colōr-em passed in to Old French as an intermediate between ō and ū, both of which letters, and subsequently the digraph ou, were used to express it. Colour has been the normal spelling in English from C14th but color has been used occasionally, chiefly under Latin influence, from C15th and is now the prevalent spelling in U.S. The Old English word was híw i.e. hue.

    Comment By Ashley on January 31st, at 2:24 pm