I'm very interested to see your code or an explanation of how you did that in utorrent.
I can add torrents from the command line but I couldn't work out how to put them in a desired category or manually set download locations, etc.
How did you do it?