Created
April 9, 2024 09:54
-
-
Save janniks/0f342b82312c0912b4d4041b613ed24b to your computer and use it in GitHub Desktop.
Show the Docker Desktop dashboard from Raycast
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
# Required parameters: | |
# @raycast.schemaVersion 1 | |
# @raycast.title Show Docker | |
# @raycast.mode compact | |
# Optional parameters: | |
# @raycast.icon 🐋 | |
# Documentation: | |
# @raycast.description Go to the dashboard | |
# @raycast.author janniks | |
# @raycast.authorURL https://raycast.com/janniks | |
tell application "System Events" | |
tell process "Docker Desktop" | |
set targetMenuBarItem to (first menu bar item of menu bar 2) | |
click targetMenuBarItem | |
tell (first menu item of menu of targetMenuBarItem whose title is "Go to the dashboard") | |
click | |
end tell | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment