Created
April 24, 2012 04:31
-
-
Save tinogomes/2476447 to your computer and use it in GitHub Desktop.
Open the Color Picker via AppleScript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Open the Color Picker via AppleScript | |
# http://qsapp.com/wiki/Color_Picker_(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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there a way to get the right color profile of what it picks?
For example, photoshop color picker and 'choose color' script gives don't match the hex color code.
Nevertheless, thanks a lot for the snippet!