Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Speak the sender of a mail item' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Speak the sender of a mail item
Authored by: Ansel_Witty on Mar 06, '03 10:39:22AM

Seems like it works pretty well, but if the person doesn't put quotes around their name it jsut readys the username of their e-mail address... How can you add that it should read the name even without quotes if there are no quotes? or have it read the whole e-mail address if there is no name at all?

"I don't believe in mathematics!" - Albert Einstein

[ Reply to This | # ]
Timing is everything!
Authored by: porkchop_d_clown on Mar 06, '03 10:44:19AM
The no-quotes problem is actually one of the reasons I wrote the updated script. If you want to read the whole name, instead of just up to the @ sign, change the line

set AppleScript's text item delimiters to {"@"}
to read

set AppleScript's text item delimiters to {">"}

knock knock

[ Reply to This | # ]