• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: speak text of email
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: speak text of email
      • From: dealTek <email@hidden>
References: 
 >speak text of email (From: Porter Slice <email@hidden>)
 >Re: speak text of email (From: Alex Zavatone <email@hidden>)
 >Re: speak text of email (From: dealTek <email@hidden>)

  • Prev by Date: Re: auto mount not working
  • Next by Date: Re: speak text of email
  • Previous by thread: Re: speak text of email
  • Next by thread: Re: speak text of email
  • Index(es):
    • Date
    • Thread