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

Seeking happy returns, Mail to FM


  • Subject: Seeking happy returns, Mail to FM
  • From: <email@hidden>
  • Date: Mon, 14 Feb 2005 9:22:49 -0600

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

  • Follow-Ups:
    • Re: Seeking happy returns, Mail to FM
      • From: Christian Vinaa <email@hidden>
  • Prev by Date: Re: [BULK] - Re: Match CMYK doesn't work.
  • Next by Date: Slow click button in Terminal
  • Previous by thread: Re: Re: xml file created from directory structure
  • Next by thread: Re: Seeking happy returns, Mail to FM
  • Index(es):
    • Date
    • Thread