SetCommandWindowHeight
Script function

world.SetCommandWindowHeight

DOC_scripting Read about scripting

Type

Method

Summary

Set the height of the command (input) window

Prototype

long SetCommandWindowHeight(short Height);

DOC_data_types View list of 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


DOC_errors View list of return code meanings


See Also ...

Functions

FNC_GetMainWindowPosition GetMainWindowPosition (Returns the position and size of the main MUSHclient window)
FNC_GetNotepadWindowPosition GetNotepadWindowPosition (Returns the position and size of the specified notepad window)
FNC_GetWorldWindowPosition GetWorldWindowPosition (Returns the position and size of the current world window)
FNC_MoveMainWindow MoveMainWindow (Move and resize the main MUSHclient window)
FNC_MoveNotepadWindow MoveNotepadWindow (Move and resize the specified notepad window)
FNC_MoveWorldWindow MoveWorldWindow (Move and resize a world window)
FNC_MoveWorldWindowX MoveWorldWindowX (Move and resize a specific world window)
FNC_SetWorldWindowStatus SetWorldWindowStatus (Changes the status of the main world window (maximize/minimize/restore))

(Help topic: function=SetCommandWindowHeight)

DOC_contents Documentation contents page