iTunes script

Jump to First Reply
Posted:
in Genius Bar edited January 2014
Hi, I'm looking for an iTunes script that puts the current song into the clipboard in the following format: [current song: Save Me - Remy Zero] or similar.



thanks

Comments

  • Reply 1 of 2
    lundylundy Posts: 4,466member
    Quote:

    Originally posted by MacCrazy

    Hi, I'm looking for an iTunes script that puts the current song into the clipboard in the following format: [current song: Save Me - Remy Zero] or similar.



    thanks




    One line of AppleScript:



    tell application "iTunes" to set the clipboard to "[Current Song: " & (name of current track) & " - " & (artist of current track) & "]"







    Copy that line, paste into the Script Editor, save as Application, and whenever you double-click that application it will put that on the clipboard. Note that it has to open iTunes to get the info, obviously.
     0Likes 0Dislikes 0Informatives
  • Reply 2 of 2
    maccrazymaccrazy Posts: 2,658member
    Brilliant, thank you very much! I thought it'd be a simple script but I'm always scared of using commands - I like a GUI! Anyway, thank you again.
     0Likes 0Dislikes 0Informatives
Sign In or Register to comment.