• 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: Seeking happy returns, Mail to FM
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Seeking happy returns, Mail to FM


  • Subject: Re: Seeking happy returns, Mail to FM
  • From: Christian Vinaa <email@hidden>
  • Date: Mon, 14 Feb 2005 19:29:01 +0100

I believe the dictionary for MAIL  says:

Class text: Rich (styled) text
Plural form:
	text
Elements:
	paragraph
	word
	character
	attribute run
	attachment
Properties:
	color  color  -- The color of the first character.
	font  plain text  -- The name of the font of the first character.
	size  number  -- The size in points of the first character.


so try with text stead of content







At 09:22 -0600 14/02/2005, <email@hidden> wrote:
Greetings,

I can't seem to get the paragraph formatting to stick as I pass it from Mail to
Filemaker. Any suggestions are gratefully appreciated.


Regards,

Erik Ness

using terms from application "Mail"
tell application "Mail"
set theSelectedMessages to selection
set eachMessage to item 1 of theSelectedMessages
set theSubject to subject of eachMessage
set theSender to sender of eachMessage
set theContents to content of eachMessage [I've tried 'as string' and
'as text' and 'as Unicode' text here}
end tell
end using terms from
tell application "FileMaker Pro"
activate
open "filepathtosomeDB.fp7"
tell database "someDB.fp7"
go to layout "Card Catalog"
create new record in table "Library"
set cell "Title" of last record in table "Library" to theSubject
set cell "Text" of last record in table "Library" to theContents
set cell "Bibliography" of last record in table "Library" to theSender


	end tell
end tell

 _______________________________________________
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


--
Christian Vinaa

email@hidden

...... Meanwhile, aunt Martha, having taken a tramp in the woods,
is lying in a ditch at the edge of town .........................
_______________________________________________
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


References: 
 >Seeking happy returns, Mail to FM (From: <email@hidden>)

  • Prev by Date: Slow click button in Terminal
  • Next by Date: Re: [BULK] - Re: Match CMYK doesn't work.
  • Previous by thread: Seeking happy returns, Mail to FM
  • Next by thread: Slow click button in Terminal
  • Index(es):
    • Date
    • Thread