Created
February 20, 2025 09:14
-
-
Save dnnsmnstrr/4c49ddd16e712fcd59f17df98c4447cb to your computer and use it in GitHub Desktop.
Raycast Script Command to start my coding playlist on shuffle
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
#!/usr/bin/osascript | |
# Required parameters: | |
# @raycast.schemaVersion 1 | |
# @raycast.title Play Coding Playlist | |
# @raycast.mode silent | |
# Optional parameters: | |
# @raycast.packageName Spotify | |
# @raycast.icon 💻 | |
# Documentation: | |
# @raycast.author dnnsmnstrr | |
# @raycast.authorURL https://raycast.com/dnnsmnstrr | |
# @raycast.description Start the 1337 h4xX0r playlist for the next coding session | |
# Customization: | |
# 1. Copy URI of track or playlist from Spotify, e.g. your discover weekly | |
# 2. Adjust title and description of command | |
property uri : "spotify:user:spotify:playlist:0camicGxGNwB9YS66nAwtb" | |
tell application "Spotify" | |
set shuffling to true | |
play track uri | |
end tell |
spotify:user:spotify:playlist:0camicGxGNwB9YS66nAwtb
Template
property uri : "0camicGxGNwB9YS66nAwtb"
tell application "Spotify"
set shuffling to true
set playlistUri to "spotify:user:spotify:playlist:" & uri
play track playlistUri
end tell
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://open.spotify.com/playlist/0camicGxGNwB9YS66nAwtb