如何在 Mac OS 上启动颜色选择器?

我在麦肯公司完全是个新手。碰巧我现在正在努力。我有一个奇怪的问题-我不能找到如何启动默认选色器?

123534 次浏览

Take a look into NSColorWell class reference.

You can turn the color picker into an application by following the guide here:

http://hints.macworld.com/article.php?story=20060408050920158

From the guide:

Simply fire up AppleScript (Applications -> AppleScript Editor) and enter this text:

choose color

Now, save it as an application (File -> Save As, and set the File Format pop-up to Application), and you're done

You can call up the color picker from any Cocoa application (TextEdit, Mail, Keynote, Pages, etc.) by hitting Shift-Command-C

The following article explains more about using Mac OS's Color Picker.

http://www.macworld.com/article/46746/2005/09/colorpickersecrets.html