Advertisement

Mac Automation: E-mail songs from iTunes

What do you do if you need to email a song from iTunes to your work computer, or to another machine you own? If you have one machine where you do all your CD imports, you might want to send a track to the office; maybe you've got your GarageBand compositions in iTunes and you want to send one to a friend. We can simply this process by using Automator for Leopard. In this how-to, I am going to show you how to quickly and easily e-mail songs from your iTunes library.

Continue reading to learn how to e-mail songs using Automator.





Creating the workflow

Let's first create the Automator workflow. To create this workflow, just place the following Automator actions together (in the same order):

  • Get Selected iTunes Items

  • New Mail Message



Saving the workflow
Let's save this workflow as a plug-in to the Script Menu. Click File > Save As Plug-in; select "Script menu" from the "Plug-in for:" drop-down menu. Type in a save name and click "Save." If you don't already have the script menu in your menu bar, then let's add it. The script menu gives you quick access to all of your saved AppleScripts and Automator workflows.

To enable the Script menu, just open AppleScript Utility.app (found in /Applications/AppleScript/) and click "Show Script menu in the menu bar." You should then see a small AppleScript looking scroll appear in your menu bar. This gives you one-click access to saved scripts and Automator actions no matter what application you might be in.

Running the workflow
To run the workflow, you need to select one or more songs in iTunes (you can highlight multiple songs by command + clicking on the song). When you have some songs select, run the workflow by clicking on the Script menu and clicking on your saved script -- in this instance "E-mail iTunes Song." Automator will then grab the song and attach it to a new e-mail.