renaming bin to applescripts

This commit is contained in:
Nick Nisi
2013-01-06 18:47:54 -06:00
parent 18171a6c76
commit b3ea8102d6
5 changed files with 4 additions and 4 deletions

12
applescripts/spotify.scpt Executable file
View File

@@ -0,0 +1,12 @@
if application "Spotify" is running then
tell application "Spotify"
set theName to name of the current track
set theArtist to artist of the current track
set theAlbum to album of the current track
set theUrl to spotify url of the current track
try
return "♫ " & theName & " - " & theArtist
on error err
end try
end tell
end if