FontColourSetup.exe

FontColourSetup

FontColourSetup — configure Windows system fonts and colours

Synopsis

FontColourSetup fontSize fontFace fgColour bgColour invert hilightColour cursorColour cursorSize cursorTrails

Description

This utility can be used to set the system font size, face and colours and the system cursor size and colour.

Invoked with no arguments, all settings are set to the system default. If any arguments are provided, all arguments must be provided. To maintain the system default, use the relevant default value (described below).

fontSize
The desired font size. This must be a negative integer indicating the height, in logical units, for the font's character.
Default: -11 (8 point)
fontFace
The name of the desired font face (such as Times or Courier) or one of the following face types: serif, sansserif, monospaced, cursive or fantasy.
Default: sansserif
fgColour
The desired foreground colour. This must be an integer representation of a colour reference that has the hexadecimal form 0x00bbggrr.
Default: 0 (black)
bgColour
The desired background colour. This must be an integer representation of a colour reference that has the hexadecimal form 0x00bbggrr.
Default: 12632256 (gray)
highlightColour
The desired highlight colour. This must be an integer representation of a colour reference that has the hexadecimal form 0x00bbggrr.
Default: 6956042 (dark blue)
cursorColour
The desired cursor colour. Use 0 for black or 1 for white.
Default: 1 (white)
cursorSize
The desired cursor size. Use 1 for standard, 2 for large or 3 for extra-large.
Default: 1 (standard)
cursorTrails
The desired cursor trail length. Use 0 no trail, 1-10 for the length.
Default: 0 (disabled)

Return Value

The utility prints progress information and any error messages to the console output.

Upon successful completion, the program exits with an exit status of 0.

An exit status of 1 indicates a syntax error, likely an incorrect number of parameters.

Any other error condition will result in an exit status of -1.


Copyright © 2003-2006 Adaptive Technology Resource Centre, University of Toronto. All rights reserved.
Last modified: February 13, 2006. Anastasia Cheetham.