Created
July 11, 2013 04:56
-
-
Save michaelwills/5972628 to your computer and use it in GitHub Desktop.
Simple Applescript to trigger the Hues app to sample a color
This file contains hidden or 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
# 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