Re: speak text of email
Re: speak text of email
- Subject: Re: speak text of email
- From: dealTek <email@hidden>
- Date: Mon, 14 Jan 2013 08:03:22 -0800
this basic script will speak various vars that you acivate... you may need to fool with it a bit...
tell application "Mail"
set theSelectedMessages to the selection
set eachMessage to item 1 of theSelectedMessages
set theToName to name of to recipient of eachMessage
set theToEmail to address of to recipient of eachMessage
set theSender to sender of eachMessage
set theDate to date received of eachMessage
set theSubject to subject of eachMessage
set theBody to content of eachMessage
set theToName to ""
set toList to (to recipients of eachMessage)
set minibod to (words 1 thru 10 of theBody) as string
--set minisub to (words 1 thru 3 of theSubject) as string
set AppleScript's text item delimiters to "<"
set who to text item 1 of theSender
end tell
say who
say theSubject using "Alex"
say minibod using "Alex"
--
Thanks,
Dave - DealTek
email@hidden
[db-3]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden