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 "Music" | |
set loved of current track to true | |
set songTitle to name of current track | |
set songAlbum to album of current track | |
set songInfo to songTitle & " - " & songAlbum | |
try | |
duplicate current track to source 1 | |
on error | |
try | |
tell application "System Events" |