Mail App - plain text
Mail App - plain text
- Subject: Mail App - plain text
- From: Mahlon Lovett <email@hidden>
- Date: Thu, 31 Mar 2011 10:24:33 -0400
As much as I might wish that Michelle's script would actually work, it fails for me -- every combination that I've tried...
- setting a variable with the desired content {content:myvar as text}
- inserting the content directly {content:"My content here..." as text}
- setting the clipboard to my content, and then using the clipboard's text for the msg content
etc.
My Mail preferences are set to plain text for new messages; every new message that I manually create starts as plain text. But, by script, I ALWAYS get a new message in Rich Text Format. Adding 'set default message format to plain text' doesn't seem to help.
Mac OS 10.6.6
Mail 4.4
Mahlon Lovett
Communications Office
Princeton Univ
Re: AppleScript-Users Digest, Vol 8, Issue 147
On Mar 31, 2011, at 9:46 AM, <email@hidden> <email@hidden> wrote:
> "default message format" is an application property that sets the default for all messages; it is not a property of a message.
>
> So the script would have to be something like this:
>
> tell application "Mail"
> set default message format to plain text
> set newMessage to make new outgoing message with properties {subject:"mailSubject", content:"mailContent" as text, visible:true}
> set default message format to rich text
> end tell
>
> -- Michelle
_______________________________________________
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