Advertisement
eartle

Fixed? Current Track

Sep 24th, 2013
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. tell application "iTunes"
  2.     try
  3.         set L to location of current track
  4.         set L to POSIX path of L
  5.     on error
  6.         set L to ""
  7.     end try
  8.     return artist of current track & "
  9. " & album artist of current track & "
  10. " & album of current track & "
  11. " & name of current track & "
  12. " & (duration of current track as integer) & "
  13. " & L & "
  14. " & persistent ID of current track & "
  15. " & podcast of current track & "
  16. " & video kind of current track
  17. end tell
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement