im making buttons that play a playlist on Spotify in my touchbar.
is there script to:
- check if shuffle is enabled
- if not, turn shuffle on
- if it is on, do nothing.
then, how do I add it to this script?
tell application "Spotify" play track "spotify:playlist:5OApoLexWtYFcolEuLm9JK" end tell