hideConsoleWindows

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
set the hideConsoleWindows to {true | false}
Summary

Hides the main window of applications run with the open process command or shell function on Windows systems.

Introduced1.0
OSwindows
Platformsdesktop, server
Example
set the hideConsoleWindows to true
Values
NameTypeDescription
Value

The hideConsoleWindows is true or false. By default, the hideConsoleWindows property is set to false.

RelatedProperty: shellCommand
Command: open process, launch, write to process, read from process
Function: shell
Control Structure: function
Glossary: property, Windows, console, command, command line
Description

Use the hideConsoleWindows property to run command line applications without the user seeing them.

On Windows systems, when you run a command line program with the launch or open process command, a console window appears. If the hideConsoleWindows property is true, the window is not shown. (You can still use the write to process and read from process commands to send data to the program and get data from it.)

The setting of this property affects Windows applications with a GUI as well as command line programs.

Important: If you run a program that requires user interaction, make sure the hideConsoleWindows property is set to false beforehand. Otherwise, the program will not be displayed and the user will not be able to see it.

The setting of this property has no effect on Mac OS or Unix systems.