Created
January 9, 2021 17:48
-
-
Save ruddfawcett/2663be0bd8d9342997fb21e8b28a047c to your computer and use it in GitHub Desktop.
Opens the Spotify desktop application in a private session.
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 "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