DeskTask Carthago Software forums / DeskTask /  

 Did you know that items can have HTML Formatting?

 
Andre Santos
Carthago
Moderator
#1 | Posted: 5 Jun 2005 04:17 
DeskTask is "HTMLWare".
If you are familiar with HTML you can use a subset of commands to format your tasks or calendar items.

For example create a new task and between the subject put something like this: <b>this is a task subject</b>

your task will be shown in bold!

There are a couple of issues which might happen. One is that the formatted text will not look good in Outlook itself. The other is that an overuse of the formatting commands can cause strange behavior in the DeskTask window, so use them with care. Thanks.

Here are the available commands for DeskTask:

* B : Bold tag
<B> : start bold text
</B> : end bold text

Example : This is a <B>test</B>

* U : Underline tag
<U> : start underlined text
</U> : end underlined text

Example : This is a <U>test</U>

* I : Italic tag
<I> : start italic text
</I> : end italic text

Example : This is a <I>test</I>

* S : Strikeout tag
<S> : start strike-through text
</S> : end strike-through text

Example : This is a <S>test</S>

* HI : hilight

<HI> : start text hilighting
</HI> : stop text hilighting

* E : Error marking

<E> : start error marker
</E> : stop error marker

* A : anchor tag
<A href="value"> : Value can be a URL, clicking it will open your default browser
</A> : end of anchor

Examples :
This is a <A href="mailto:myemail@mail.com">test</A>
This is a <A href="http://www.carthagosoft.net">test</A>

* FONT : font specifier tag
<FONT face='facevalue' size='sizevalue' color='colorvalue' bgcolor='colorvalue'> : specifies font of text after tag.
with
- face : name of the font
- size : HTML style size if smaller than 5, otherwise pointsize of the font
- color : font color with hexidecimal color specification
- bgcolor : background color with hexidecimal color specification
</FONT> : ends font setting

Examples :
This is a <FONT face="Arial" size="12" color="clred">test</FONT>
This is a <FONT face="Arial" size="12" color="#FF0000">test</FONT>

* P : paragraph
<P align="alignvalue" [bgcolor="colorvalue"] [bgcolorto="colorvalue"]> : starts a new paragraph, with left, right or center alignment. The paragraph background color is set by the optional bgcolor parameter. If bgcolor and bgcolorto are specified, a gradient is displayed ranging from begin to end color.
</P> : end of paragraph

Example : <P align="right">This is a test</P>
Example : <P align="center">This is a test</P>
Example : <P align="left" bgcolor="#ff0000">This has a red background</P>
Example : <P align="right" bgcolor="clYellow">This has a yellow background</P>


* HR : horizontal line
<HR> : inserts linebreak with horizontal line

* BR : linebreak
<BR> : inserts a linebreak

* IND : indent tag
This is not part of the standard HTML tags but can be used to easily create multicolumn text
<IND x="indent"> : indents with "indent" pixels

Example :
This will be <IND x="75">indented 75 pixels.

* IMG : image tag
<IMG src="specifier:name" [align="specifier"] [width="width"] [height="height"] [alt="specifier:name"] > : inserts an image at the location

specifier can be :
ssys : name is the index of the small image in the system imagelist or a filename for which the corresponding system imagelist is searched
lsys : same as ssys, but for large system imagelist image
file : name is the full filename specifier

Optionally, an alignment tag can be included. If no alignment is included, the text alignment with respect to the image is bottom. Other possibilities are : align="top" and align="middle"

The width & height to render the image can be specified as well. If the image is embedded in anchor tags, a different image can be displayed when the mouse is in the image area through the Alt attribute.

Examples :
This is an image <IMG src="ssys:1"> and another one <IMG src="ssys:worfile.doc">
This is an image <IMG src="file://c:\my documents\test.bmp">

* SUB : subscript tag

<SUB> : start subscript text
</SUB> : end subscript text

Example : This is <SUP>9</SUP>/<SUB>16</SUB> looks like 9/16

* SUP : superscript tag

<SUP> : start superscript text
</SUP> : end superscript text

* Special characters

Following standard HTML special characters are supported :

&lt; : less than : <
&gt; : greater than : >
&amp; : &
&quot; : "
&nbsp; : non breaking space
&trade; : trademark symbol
&euro; : euro symbol
&sect; : section symbol
&copy; : copyright symbol
&para; : paragraph symbol

André Santos
Carthago Software Support
http://www.carthagosoft.net

DeskTask Carthago Software forums / DeskTask /
 Did you know that items can have HTML Formatting?

Your Reply Click this icon to move up to the quoted message


 
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.

 

  Powered By minibb