Line returns in Send Email

George Handley ghandley at kc.rr.com
Mon Jul 31 09:30:23 EDT 2017


Good morning Henk,

Boy you knew what you were talking about. Thank you!

George

--Global script GEH Test3 Font Color
set timeReplyString to execute script "Arthur Current Time" handler "sayCurrentTime" parameters {"no reply"}
set This_moment to (the current date)
set today to date string of This_moment
set Linebreak to "<br>"
set TextBlack to "<font color=\"#000000\">"
set TextRed to "<font color=\"#FF0000\">"
set TextGreen to "<font color=\"#00FF00\">"

set EmailResponse to (TextBlack & "CURRENT HOME STATUS1" & Linebreak & today & ", " & timeReplyString & Linebreak)
set EmailResponse to EmailResponse & (TextRed & "CURRENT HOME STATUS1" & Linebreak & today & ", " & timeReplyString & Linebreak)
set EmailResponse to EmailResponse & (TextGreen & "CURRENT HOME STATUS1" & Linebreak & today & ", " & timeReplyString & Linebreak)


send email EmailResponse subject "Current Home Status" with html

This results in this:



> On Jul 31, 2017, at 7:50 AM, Hendrik van Eeden <hvaneeden at comcast.net> wrote:
> 
> Aren’t Red, Black and Green protected system words?
> 
> Henk
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.machomeautomation.com/pipermail/xtensionlist/attachments/20170731/bb057960/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: For List 1  7-31-17.jpg
Type: image/jpeg
Size: 44329 bytes
Desc: not available
URL: <http://mail.machomeautomation.com/pipermail/xtensionlist/attachments/20170731/bb057960/attachment.jpg>


More information about the XTensionList mailing list