Lotus Script
Lotus Script
(OP)
How can i Change the text color and background colour of a field when writing to it via lotus scripting
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS Contact USThanks. We have received your request and will respond promptly. Come Join Us!Are you a
Computer / IT professional? Join Tek-Tips Forums!
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail. Posting Guidelines |
|
Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.
Here's Why Members Love Tek-Tips Forums:
Register now while it's still free!
Already a member? Close this window and log in.
RE: Lotus Script
Set rtitem = New NotesRichTextItem( maildoc, "Body" )
Set richStyle = session.CreateRichTextStyle
richStyle.NotesFont = FONT_ROMAN
richStyle.FontSize = 10
richStyle.Bold = True
richStyle.NotesColor = COLOR_DARK_BLUE
Call rtitem.AppendStyle(richStyle)
Call rtitem.AddNewLine( 1 )
Call rtitem.AppendText( "A new line here" )
Good Luck!