Last active
September 22, 2022 17:08
-
-
Save lorenzejay/0a750f630819712e3ef11ed46e734f63 to your computer and use it in GitHub Desktop.
My script that is triggered with launchd every working morning
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 "Shortcuts" to run shortcut "MorningAutomationDNDToggler" | |
tell application "Calendar" to activate | |
tell application "zoom.us" to launch | |
tell application "Spotify" to launch | |
if application "Spotify" is running then | |
tell application "Spotify" | |
play track "spotify:track:7eTxWRSvauWm5L3FblGk2h" | |
end tell | |
end if | |
tell application "Google Chrome" to activate (open location "https://hashnode.com/") | |
tell application "Google Chrome" to activate (open location "https://calendar.google.com/calendar/u/0/r?tab=rc&pli=1") | |
tell application "Visual Studio Code" to activate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment