Created
February 16, 2024 09:58
-
-
Save andydvsn/eb2adbc87510e0d1d07c8037faf81f11 to your computer and use it in GitHub Desktop.
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
tell application "System Events" | |
tell process "Dock" | |
set frontmost to true | |
activate | |
tell list 1 | |
perform action "AXShowMenu" of UI element "OrbStack" | |
delay 1 | |
key code 126 -- up arrow | |
delay 1 | |
key code 36 -- return key | |
end tell | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment