You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Name: Lyrics on Genius// Description: Look up Lyrics of Current Song on Rap Genius// Acknowledgments:// - Ryan Rudzitis: Look up Lyrics of Current Song on Rap Geniusimport"@johnlindquist/kit"letappsToTry=["Music","Spotify"]letqs: stringfor(letappofappsToTry){qs=awaitapplescript(/* applescript */` tell application "${app}" if player state is playing then set aTrack to the current track set aName to name of aTrack set aArtist to artist of aTrack return quoted form of (aArtist & " - " & aName) else return "" end if end tell `)if(qs)break}if(!qs){notify(`No music is playing in: `+appsToTry.join(", "))}else{open(`http://genius.com/search?q=${qs}`)}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
lyrics.mp4
Open lyrics in Script Kit
Beta Was this translation helpful? Give feedback.
All reactions