Script Command: CLS


CLS [-t] [command]

Clear all text from the console window and place the cursor in the bottom left corner.

Options:

-t Clear the trace window instead of the console window.

Optional commands:

rgbsave             Save the current RGB values for text and console background.
fontrgb=rr,gg,bb    Set a new RGB value for the font.
scrnrgb=rr,gg,bb    Set a new RGB value for the console background (screen).
rgbrestore          Restore to the RGB values previously saved by 'rgbsave'.

Notes:

EXAMPLE:

Use CLS to save the current font/background settings, then change them, then restore them...

CLS rgbsave
CLS scrnrgb=200,1,1 fontrgb=240,240,240
SLEEP 1000
CLS scrnrgb=1,200,1 fontrgb=240,240,240
SLEEP 1000
CLS scrnrgb=1,1,200 fontrgb=240,240,240
SLEEP 1000
CLS rgbrestore