• 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
Mail.app can't get contents of rich text message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mail.app can't get contents of rich text message


  • Subject: Mail.app can't get contents of rich text message
  • From: David Rouse <email@hidden>
  • Date: Mon, 17 Jan 2005 19:39:25 -0500

I maintain productivity scripts for the newspaper I work for, and one of the scripts we use is supposed to grab the text of an email message, send that text to a text editor and turn the emailed text into "word processable" text.

The problem I've found with moving to OS X is that Mail.app I can't get the contents of a rich text message.

For example:

using terms from application "Mail"
	on perform mail action with messages theMessages
		set ThisMessage to item 1 of theMessages
		set a to content of ThisMessage
		display dialog a

		-- set b to source of ThisMessage
		-- display dialog b
	end perform mail action with messages
end using terms from

Gives a blank dialog box when used with a rich text message. Other variations I've tried return a '?'

Any ideas? Naturally the users like not having to go through the copy and paste step...


-- David Rouse Our World | Your World | RouseWorld www.rouseworld.org

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Another FileMaker 7 versus 6 issue...
  • Next by Date: System Events -- Differences in behavior calling from a menu and calling from SE
  • Previous by thread: Re: Another FileMaker 7 versus 6 issue...
  • Next by thread: System Events -- Differences in behavior calling from a menu and calling from SE
  • Index(es):
    • Date
    • Thread