|
|
announce messaes with speech
I've been thinking about setting something to read the FROM of incoming messages and pass it along the this cl speech utility called "say" that give CL control over the built in speech synthesis. I think that with this I can have my Mac finally tell me when I get messages from ceratain folk -- this would be much preferred to setting up procmail and fetchmail to handle all my mail and piping what I want to this CL app . last I heard say is available from : http://www.umlautllama.com -- if it works out I'll post a solution. --- cyberRodent
announce messaes with speech
You can do that with a modified version of the Applescript I posted:
Create a mail rule that screens for a specific sender. "joeblow@nowhere.com"
Then as the last action in the rule, attach a compiled Applescript like this:
on perform_mail_action(info) tell application "Mail" set selectedMessages to |SelectedMessages| of info set theRule to |Rule| of info repeat with eachMessage in selectedMessages set theSender to sender of eachMessage set theRuleName to name of theRule set theText to "You have a new message from" & theSender say theText end repeat end tell end perform_mail_actionI just tested the above. It works. When a message comes in that triggers the rule (in this example, from "Joe Blow"), your Mac will say: "You have a new message from Joe Blow " The script will add the name of any sender you set up a rule for. There is likely a way to make it not say the email address. That exercise is left to the reader. :)
announce messaes with speech
Hate to reply to my own message, but not sure how to edit. I just wanted to be clear: this script does NOT use "Say" or any other CLI application. The "say" in the script part of standard Applescript. No piping or terminal commands required. :) (Not that there is anything wrong with that...)
I just wanted to be clear.. it really is that simple.
How 'bout this one?
it's the first i ever wrote (with the first ost as example, thx)... this one works for me...
How 'bout this one?
argh...
How 'bout this one?
Niiice. Fun script... though I think it would drive me nuts if I left it on for ALL messages. ;) |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|