Big Bucket Software you like to use
Email Activated Torrent Downloader
June 12th, 2006

Finally, I’ve got around to posting instructions for setting up an Applescript mail filter that picks out attached torrents and uses Azureus to download them. Here’s how it works…

First, download this Applescript.

Save it somewhere sensible, I chose /Library/Scripts. Next, you’ll need to add the Rule to Mail. In Mail preferences, click Rules then Add Rule. Here is what mine looks like:

Applescript rule

Presumably, you’re going to want to change the ‘From Contains’ bit, unless of course you want me to be able to send you torrents.

You’re almost there! The last small step is to check a checkbox in Azureus preferences so that it automatically begins downloading a file without prompting for a download location. Here’s where to find it:

Azureus settings

And that is that.

  • Would you know if this might be adaptable to the bittorrent client Transmission?

  • Matt Comi — 12:28 am on 17.6.2006

    I haven’t used Transmission but if it starts downloading when you drag a torrent onto its icon then, yes, it will work fine.

    Just find the bit in the script that says “Azureus” and replace it with “Transmission”.

    If you try this, please let me know how it goes 🙂

    Matt

  • I couldn’t get it to work with Transmission. But then again I’m haven’t a clue when it comes to Applescript.

    Would be great if you could set it to open a Automator workflow. The possibilites would be endless even for an idiot like me.

  • Nice…Thanks…It works perfect with Transmission as long as you change “Azureus” to Transmission and of course the hard drive and user name info.

    X..

  • info_fiend — 4:35 am on 17.6.2006

    the script seems to be corrupted.

  • Questor — 10:11 pm on 18.6.2006

    I’ve always wanted to find a way for Azeureus to quit by itself just as soon as the download is completed. Sometimes I’ll leave my DL on overnight and not wanting to seed the file for several hours until I wake up, how can this be done? I thought Automator was the solution but I’m a Tiger newbie.

  • It’s not corrupt. Hold down the command key to save to disk. Then remove the “.txt” extension which should leave you with the “.scpt” extension. This can be opened in Script Editor.

  • Matt Comi — 10:06 pm on 21.6.2006

    Hi,

    I can think of a couple of reasons, first up, did you follow the last step in the instructions? You have to make sure that Azureus will save to a default data directory otherwise it will display a dialog when you double click the torrent rather that immediately downloading it.

    Secondly, if the server requires a login, ensure that you are logged in from the machine that is running Azureus.

    Hope this helps,

    Matt.

  • iSilver — 7:24 pm on 21.6.2006

    I have got the rule set up, the script creates the torrent file and puts it on the desktop but azureus doesn’t actually open it.

    I have discovered that if i double-click a torrent file in the finder it brings azureus to the front but doesn’t load the torrent, so that’s probably why the rule doesn’t work.

    Anybody know why is this so, can others double-click a torrent to launch it?

  • I can’t get it to work with Transmission. I get the beep, so the rule is functioning. I don’t see the torrent on the desktop. Initially, when opening the script, Script Editor asked to locate Azureus. I browsed to Transmission and selected. The script opened with Transmission replacing Azureus. Changed the save location to my user name. Thoughts?

  • Transmission works fine. Had to restart and repair permissions.

  • Steven Chang — 9:47 pm on 30.6.2006

    How about an addition to the script to hide Azureus/Transmission?

  • Couldn’t get it to work in Azureus for some reason (probably me screwing something up, I’ve run out of patience with that app), but it definitely works in Transmission.

    Just remember to edit the script to change the filename to your own Desktop path, and change the app name to Transmission (obviously).

  • Couldn’t get it to work in Azureus for some reason (probably me screwing something up, I’ve run out of patience with that app), but it definitely works in Transmission.

    Just remember to edit the script to change the filename to your own Desktop path, and change the app name to Transmission (obviously).

  • theboyk — 4:08 am on 19.7.2006

    Just out of curiousity — I would love to be able to use this script so I can set it up at home and send torrents home from work so they start running before I actually get home. My question though — will there be any reference to my work IP etc. if I download the .torrent file from work and send it home for downloading (via this script)?
    k.

  • Peabody — 11:09 am on 3.10.2006

    I’ve tried this with Acquisition but so far, have not been able to get it to work. Now, the maker of Acquisition has come out with Xtorrent specifically for finding and downloading torrents, and it rocks! You can set it to monitor a folder on your Mac for torrent files and it will automatically begin downloading them as soon as they appear in the folder (and delete the original “.torrent”s if you like).

    My question is, does anyone know how to modify this script so that it simply downloads torrent attachments from Mail to the Desktop? I’d be much obliged for such an answer.

  • This is a great tip man….thanks a lot. I’ve been getting torrents downloading by sending them from school, work, friends houses, etc. Again, thanks.