Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on textualcmd()
- tell application "iTunes"
- try
- if not (exists current track) then return
- set this_artist to (get artist of current track)
- set this_track to (get name of current track)
- set this_album to (get album of current track)
- end try
- end tell
- set this_desc to this_track & " from " & this_album & " by " & this_artist
- return "/me is listening to " & this_desc
- end textualcmd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement