Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Open the Color Picker via AppleScript
# Open the Color Picker via AppleScript
tell application "System Events" to set _frontMostApp to (name of processes whose frontmost is true)
set _frontMostApp to item 1 of _frontMostApp
tell application _frontMostApp to activate
choose color

This comment has been minimized.

Copy link

TrevorSayre commented Mar 18, 2019

So others know how to use this:

  1. Open /Applications/Utilities/Script
  2. Paste in the above code
  3. File > Save...
  4. Set File Format to Application
  5. Name it whatever you want (I chose Color Picker) and save to /Applications

I would also recommend taking a look at:

This is a free enhancement for the macOS color picker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.