LC, applescript and mail.app

Yves COPPE yvescoppe at skynet.be
Wed Aug 14 02:15:20 EDT 2013


Hi list,


For mac users

I have a text formatted with html tags in a variable tVar
when I write
set the htmlText of fld "test" to tVar : OK
when I write an applescript to send the text per mail

tell application "Mail"
	set newMessage to (make new outgoing message at end of outgoing messages with properties {subject:xx, content:tVar)
end tell

the text appears in the mail but with the tags
<b>the text</b> ……, not in the formatted style

How can I resolve this ?

Thanks.

Greetings.

Yves COPPE
yvescoppe at skynet.be




More information about the use-livecode mailing list