Created
March 17, 2011 22:56
-
-
Save segphault/875313 to your computer and use it in GitHub Desktop.
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
tell application "Dock" | |
activate | |
end tell | |
tell application "System Events" | |
tell process "Dock" | |
set frontmost to true | |
activate | |
tell list 1 | |
perform action "AXShowMenu" of UI element "Google Chrome" | |
repeat 5 times | |
key code 126 | |
end repeat | |
delay 1 | |
repeat 2 times | |
key code 36 | |
end repeat | |
end tell | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment