Command console is useful for typing in your own scripts and macros. In can be set in 3 different modes of behavior (see settings of command console).
You can type your script code in the lower part of the window (the commandline or script editor, depending on settings) and observe output of your commands in upper part (console)