Skip to content

Instantly share code, notes, and snippets.

@michaelwills
Created July 11, 2013 04:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaelwills/5972628 to your computer and use it in GitHub Desktop.
Save michaelwills/5972628 to your computer and use it in GitHub Desktop.
Simple Applescript to trigger the Hues app to sample a color
# For http://giantcomet.com/hues/
# inspired by https://twitter.com/JP_Sirois/status/132517964267261952
# with help from UIElementInspector
# Works as a workflow in AlfredApp
tell application "Hues" to activate
tell application "System Events"
tell process "Hues"
click first button of window 1
end tell
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment