Macro Reference — OutputBar Object

# OutputBar Object

## Properties

CurrentDirectory | Sets the current directory for the output bar.
Visible | Shows or hides the output bar.
Text | Retrieves the entire text in the output bar.

## Methods

Clear | Clears the contents of the output bar.
SetFocus | Sets the keyboard focus to the output bar.
write | Appends a string to the output bar.
writeln | Appends a string and a newline character to the output bar.

## Examples

### [JavaScript]

    OutputBar.Clear();
    OutputBar.writeln( "Hello!" );
    OutputBar.Visible = true;
    OutputBar.SetFocus();

### [VBScript]

    OutputBar.Clear
    OutputBar.writeln "Hello!"
    OutputBar.Visible = True
    OutputBar.SetFocus

## Version

Supported on EmEditor Professional Version 7.00 or later.