How-to-Guides

Step-by-Step Solutions for Common Problems.

Customizing the DriveImage XML Welcome Screen (Commercial Edition only) 

You can customize DriveImage's first screen (Welcome screen) to show your credentials. Put a file called custom.txt into the directory that contains the program file dixmlcom.exe (usually C:\Program Files\Runtime Software\DriveImage XML (Commercial Edition)).

By default the Welcome screen will look like this:

DriveImage XML Customization

DriveImage XML: Welcome screen with customizable area

You can replace the content of the red square with simple HTML content.

Example

DriveImage XML Customization of the contact data

DriveImage XML: Customized welcome screen

You can create this look by renaming custom.txt.sample to custom.txt. This sample shows how to use colors, shades, fonts, and links.

HTML Reference

DriveImage XML supports the following tags inside the custom.txt:

  • B : Bold tag  
    <b> : start bold text
    </b>: end bold text

    Example:
    This is a <b>test</b>.
    This is a test.

  • U : Underline tag  
    <u> : start underlined text
    </u>: end underlined text

    Example:
    This is a <u>test</u>.
    This is a test.

  • I : Italic tag  
    <i> : start italic text
    </i>: end italic text

    Example:
    This is a <i>test</i>.
    This is a test.

  • S : Strikeout tag  
    <s> : start strikeout text
    </s>: end strikeout text

    Example:
    This is a <s>test</s>.
    This is a test.

  • A : Anchor tag  
    <a href="value"> : text after tag is the anchor text. The 'value' after the href identifier is the anchor link. This can be an URL (with ftp,http,mailto,file identifier) or any text.
    </a>: end of anchor

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

  • FONT : Font specifier tag  
    <font face='facevalue' size='sizevalue' color='colorvalue' bgcolor='colorvalue'>: specifies font of text after tag.

    Attributes:

    • face : name of the font

    • size : HTML style size if smaller than 5, otherwise point size of the font

    • color : font color with either hexadecimal color specification or Borland style color name, ie clRed,clYellow,clWhite ... etc

    • bgcolor : background color with either hexidecimal color specification or Borland style color name

    </font>: ends font setting

    Example code:
    This is a <font face="Courier" size="12" color="clGreen">test</font>.
    This is a test.

  • P : Paragraph tag  
    <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 code:
    This is a <p bgcolor="clYellow">test</p>
    This is a test.

  • HR : Horizontal rule  
    <hr> : inserts linebreak with horizontal line

  • BR : Linebreak  
    <br> : inserts linebreak

  • BODY : Body color / background specifier  
    <body bgcolor="colorvalue" [bgcolorto="colorvalue"] [dir="v|h"] background="imagefile specifier"> : sets the background color of the HTML text or the background bitmap file

    Examples:
    <body bgcolor="clYellow"> : sets background color to yellow.
    <body background="file://c:\test.bmp"> : sets tiled background to file test.bmp.
    <body bgcolor="clYellow" bgcolorto="clWhite" dir="v"> : sets a vertical gradient from yellow to white.

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

    Example:
    This will be <ind x="75">indented 75 pixels.
    This will be  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 is always file : name is the full filename

    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="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>.
    This is 9/16.

  • SUP : Superscript tag  
    <sup> : start superscript text
    </sup>: end superscript text

    Example:
    This is <sup>9</sup>/<sub>16</sub>.
    This is 9/16.

  • BLINK : Blink tag  
    <blink> : start blinking text
    </blink>: end blinking text

    Example:
    This is <font color="clred"><blink>blinking red</blink></font>.

  • UL : List tag  
    <ul> : start unordered list tag
    </ul>: end unordered list tag

    Example:
    <ul><li>item1</li><li>item2></li></ul>

    • item1
    • item2
  • LI : List item tag  
    <li> : start list item
    </li>: end list item

  • SHAD : Text with shadow  
    <shad> : start text with shadow
    </shad>: end text with shadow

    Example:
    This is a <shad>test</shad>.

  • Z : Hidden tag  
    <z> : start hidden text
    </z>: end hidden text

    Example:
    This is <z>hidden</z>.
    This is .

  • HI : Highlight tag  
    <hi> : start text highlighting
    </hi>: end text highlighting

    Example:
    This is a <hi>test</hi>.
    This is a test.

  • E : Error marking  
    <e> : start error marker
    </e>: end error marker

    Example:
    This is an <e>error</e>.

  • Special characters  
    Following standard HTML special characters are supported :

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

© 2024 Runtime Software