LC, applescript and mail.app
Yves COPPE
yvescoppe at skynet.be
Wed Aug 14 04:30:59 EDT 2013
Hi,
thanks for the good idea; the text appears without html flags
but … as plain text, not formatted, without returns, bold text, …
no any other idea ?
Le 14 août 2013 à 10:15, Mark Schonewille <m.schonewille at economy-x-talk.com> a écrit :
> Hi Yves,
>
> I had this problem too. I noticed that Mail automatically converts any diacritics to HTML to make sure that they are read correctly on PC's. Just use standard MacRoman and all will be fine.
>
> However, I would be very interested in knowing whether Zryip's solution works for you.
>
> --
> Best regards,
>
> Mark Schonewille
>
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
>
> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com
>
> Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi
>
> Fill out this survey please
> http://livecodebeginner.economy-x-talk.com/survey/
>
> On 8/14/2013 08:15, Yves COPPE wrote:
>> 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
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
Amicalement.
Yves COPPE
yvescoppe at skynet.be
More information about the use-livecode
mailing list