Advertisement
Guest User

Untitled

a guest
Aug 15th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on textualcmd()
  2.     set listening to "/debug Ecoute is not running!"
  3.    
  4.     tell application "Ecoute"
  5.         if player state is Playing then
  6.             set listening to "/me is listening to " & name of current track & " by " & artist of current track & " [played: " & played count of current track & "]"
  7.         end if
  8.     end tell
  9.    
  10.     return listening
  11. end textualcmd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement