Brighten up those Messages

Contains tips for configurators working with Aware IM
Post Reply
RocketRod
Posts: 907
Joined: Wed Aug 06, 2008 4:22 am
Location: Melbourne

Brighten up those Messages

Post by RocketRod »

One simple way to brighten up your Display Messages and Display Questions is to add a little code around the text.
You will need at least three attributes. One to close with which is something like:

SystemSettings.MessageClose='</div>'

One to store the quote symbol as AwareIm has issues with this.

SystemSettings.MessageQuote which equals ".

And as many attributes as you like to start with. Just set some rules up to set the values. For example:

SystemSettings.MessageGreen='<div style='+SystemSettings.MessageQuote+'FONT-FAMILY: Verdana; FONT-SIZE: 24px; COLOR: #006000; TEXT-ALIGN: center'+SystemSettings.MessageQuote+'>'

Then you just use them like:

DISPLAY MESSAGE SystemSettings.MessageGreen+'This is my message'+SystemSettings.MessageClose

OR

DISPLAY QUESTION SystemSettings.MessageRed+'This is my message'+SystemSettings.MessageClose
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

You're my hero Rod!

I was stumbling around with this last night with limited success. Thanks so much for the clear, detailed road map!
Tom - V8.8 build 3137 - MySql / PostGres
Post Reply