|
#1
|
|||
|
|||
Send email upon completion?
I have searched the forums and not found this topic, but may have missed it.
I am a novice and know nothing about writing a UNIX shell script or applescript but probably could muddle through automator. What I would like to accomplish is some sort of notification via email after SuperDuper! has completed a scheduled task. I figured that having it run a script upon completion would be the way to go. Has anyone written/posted, etc. some sample scripts that would send an email to a specified address? Using OSX direct mail feature might be better than launching an email client application. Curious, but ignorant. If not, I hope that the forum administrator will please consider email notification a feature request. Thank you, SHorton |
#2
|
||||
|
||||
Hi, SHorton. It's something we're considering; thanks. If you're trying to do this with a scheduled job, we've got "hooks" in the standard script that'll allow you to achieve your goal, though it requires programming in AppleScript. There are various threads on the forums that explain the techniques involved...
__________________
--Dave Nanian |
#3
|
|||
|
|||
Hi shorton
I use the below, and have it set it up as follows: tell application "System Events" to tell process "Mail" keystroke "n" using command down set TheAddress to "Your email address" set theSubject to "SD Has Completed: " tell application "Mail" activate set newMessage to make new outgoing message with properties {subject:theSubject} tell newMessage make new to recipient at end of to recipients with properties {address:TheAddress} send -- set visible to true --so you can edit the message end tell end tell end tell 1) Cut and paste the Applescript into script editor and click "compile" 2) In the Area "Your email address" type the address where you wish the mail to goto. 3) In the area "SD Has Completed: " type what ever you wish to show up in the subject line of your mail. 4) Save the file, name it what you will, place the file where you wish. 5) Launch "SD", click on "Options", then "Advanced", check "Run shell script after copy completes", then click "choose" and locate your applescript that you just saved, click "OK", then click "OK", 6) your good to go hope this helps Budgie |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Program and email automatically opening on boot from backup - mysterious | emikysa | General | 4 | 09-29-2005 10:59 AM |