• 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
Formating Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Formating Problem


  • Subject: Formating Problem
  • From: "Manfred M. Strasser" <email@hidden>
  • Date: Tue, 15 Jun 2010 14:16:49 +0200

The following script has worked since I updated to 10.6.x ...

property myAttachment : "fileYES"
on run
	tell application "Mail"

		set themessage to make new outgoing message with properties {subject:"Test", content:"Text" & return & return}
		tell themessage
			make new recipient at end of to recipients with properties {name:"Hansi Maier", address:"email@hidden"}
			if myAttachment = "fileYES" then
				tell content of themessage
					make new attachment with properties {file name:"xx:Users:xx:Documents:Test.jpg" as alias} at after last paragraph
				end tell
			end if
			send
		end tell
	end tell
end run

Now Mail formats the outgoing message always as rich text mail. And the property for new message (default message format:"plain text") has no effect. (The script is called by FMP 11.)

thanks for any help
Manfred _______________________________________________
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: Formating Problem
      • From: Axel Luttgens <email@hidden>
  • Prev by Date: Re: iPhoto returns a real number as a photo id
  • Next by Date: VoiceOver and the mouse cursor - slight bug and workaround
  • Previous by thread: Re: Apple Script for File Selection
  • Next by thread: Re: Formating Problem
  • Index(es):
    • Date
    • Thread