Skip to content

Instantly share code, notes, and snippets.

@ruddfawcett
Created January 9, 2021 17:48
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 ruddfawcett/2663be0bd8d9342997fb21e8b28a047c to your computer and use it in GitHub Desktop.
Save ruddfawcett/2663be0bd8d9342997fb21e8b28a047c to your computer and use it in GitHub Desktop.
Opens the Spotify desktop application in a private session.
tell application "Spotify" to activate
tell application "System Events"
tell process "Spotify"
click menu item "Private Session" of menu "Spotify" of menu bar 1
end tell
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment