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

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/6601341/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-21 08:09:01  来源:igfitidea点击:

How to start color picker on Mac OS?

macos

提问by I159

I am a complete newbie at Mac. It so happened that now I'm working on it. I have an weird issue - I can't find how to start default Color Picker?

我是 Mac 的新手。碰巧现在我正在研究它。我有一个奇怪的问题 - 我找不到如何启动默认颜色选择器?

回答by wajiw

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

您可以按照此处的指南将颜色选择器转换为应用程序:

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

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

只需启动 AppleScript(应用程序 -> AppleScript 编辑器)并输入以下文本:

choose color

现在,将其另存为应用程序(文件 -> 另存为,并将文件格式弹出窗口设置为应用程序),您就完成了

回答by Ozair Kafray

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

您可以通过按 Shift-Command-C 从任何 Cocoa 应用程序(TextEdit、Mail、Keynote、Pages 等)调出颜色选择器

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

以下文章解释了有关使用 Mac OS 的拾色器的更多信息。

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

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

回答by Andrew

Take a look into NSColorWell class reference.

看看 NSColorWell 类参考。