world.SetCommandWindowHeight

MUSHclient script function (Method) — introduced in version 4.28

Set the height of the command (input) window

Prototype

long SetCommandWindowHeight(short Height);

Data type meanings

Description

Sets the height of the command window in pixels.

VBscript example

SetCommandWindowHeight 15  ' enough for a line
SetCommandWindowHeight 0    ' not visible

Jscript example

SetCommandWindowHeight (15)  // enough for a line
SetCommandWindowHeight  (0)  // not visible

Lua example

SetCommandWindowHeight (15)  -- enough for a line
SetCommandWindowHeight  (0)  -- not visible

Return value

eBadParameter: Specified height is < 0 or such that the output window would be < 20 pixels high.
eOK: Completed OK

Return code meanings

See also

FunctionDescription
GetMainWindowPositionReturns the position and size of the main MUSHclient window
GetNotepadWindowPositionReturns the position and size of the specified notepad window
GetWorldWindowPositionReturns the position and size of the current world window
MoveMainWindowMove and resize the main MUSHclient window
MoveNotepadWindowMove and resize the specified notepad window
MoveWorldWindowMove and resize a world window
MoveWorldWindowXMove and resize a specific world window
SetWorldWindowStatusChanges the status of the current world window