Returns or sets a value that determines whether the Console window is visible.
Read-write property
object.Visible = [ value ] |
Boolean
Displays the Console window and writes some text to it.
Console Object Example (VBScript) | Copy Code |
---|---|
Sub WriteToConsole Console.Visible = True Console.DebugFlags = 3 Console.Caption = "My Output" Console.Color = apGreen Console.BackgroundColor = apYellow Console.Clear Console.Print "This is the console window", apBlue, apRed Console.Print "Here is another message" End Sub |