Rob van der Woude's Scripting Pages

Help text for ConsoleState.cs

(view help text of ConsoleState.cs as plain text)

ConsoleState.exe,  Version 1.00
Set or get the visibility state of the current console

Usage:    ConsoleState.exe  [ /Hide | /Show ]

Where:    /Hide    Hides the console
          /Show    Shows the console (restores visibility)

Notes:    If no command line argument is used, the program will
          check the current state and return "errorlevel" 0 if
          visible, 2 if hidden, or 1 on errors.
          If a command line argument is used, the program will
          return "errorlevel" 0 if successful, or 1 on errors.

Credits:  Code to hide and show console by Anthony on
          http://stackoverflow.com/a/15079092
          Code to check current console state by "dtb" on
          http://stackoverflow.com/a/2655954

Written by Rob van der Woude
http://www.robvanderwoude.com

page last uploaded: 2017-03-25, 21:31