Jump to content

How to send email automatically after download completed?


Recommended Posts

I have a verry simple script that announces when a download is ready or starts to download, you can easely change the script,, and add a mailing function to it,

' Label every download in rss feed
' Add this line to both fields in µTorrent:
' C:\speak.vbs "%S" "%L" "%P"
' When a download starts or finish, the script will announce the name of the label
' and/or that the download is starting or is finished
Set vo = CreateObject("SAPI.SpVoice")

on error resume next

dim status
status = wscript.arguments(0)
dim label
label = wscript.arguments(1)
dim previous_state
previous_state = wscript.arguments(2)

if status = 6 and previous_state = 12 then
vo.speak label +" " + "is starting to download!"
end if

if status = 5 and previous_state = 6 then
vo.speak label +" " + "has finished with download!"
end if

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...