Skip to content

Instantly share code, notes, and snippets.

@janniks
Created April 9, 2024 09:54
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 janniks/0f342b82312c0912b4d4041b613ed24b to your computer and use it in GitHub Desktop.
Save janniks/0f342b82312c0912b4d4041b613ed24b to your computer and use it in GitHub Desktop.
Show the Docker Desktop dashboard from Raycast
# 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