Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!


Click here to return to the 'Announce incoming Mail message senders' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
Announce incoming Mail message senders
Authored by: Nobody Special on Tue, Jan 29 2008 at 8:14AM PST
If I wanted the script to announce the name of the sender and subject of the message, how would I modify the script? Thanks.

[ Reply to This | # ]
Announce incoming Mail message senders
Authored by: bradbeattie on Tue, Jan 29 2008 at 8:24AM PST
set senderName to (extract name from sender of newMessage)
set sentSubject to (extract subject from newMessage)
say "You've just received an email from " & senderName
say sentSubject
Or, y'know, something like that.

[ Reply to This | # ]
Announce incoming Mail message senders
Authored by: Nobody Special on Tue, Jan 29 2008 at 8:43AM PST
I tried it and receive an error message when compiling: "Syntax Error: Expected "," but found property."

[ Reply to This | # ]