MoveNotepadWindow
Script function world.MoveNotepadWindow Read about scripting Type Method Summary Move and resize the specified notepad window Prototype `long MoveNotepadWindow(BSTR Title, long Left, long Top, long Width, long Height);` View list of data type meanings Description `This function moves and resizes the specified notepad's window. Specify the left and top co-ordinates in pixels. Specify the width and height of the window in pixels. Note that if you move the window off the screen (eg. to -1000, -1000) it will become invisible. No checking is performed on the arguments to this function. The co-ordinates are relative to the client area of the main MUSHclient window. In other words, position 1, 1 is the very top-left corner of the MUSHclient frame window. If the notepad window cannot be found, the function returns false (zero).` VBscript example
    MoveNotepadWindow "my_notepad", 1, 1, 640, 480
Jscript example
    MoveNotepadWindow ("my_notepad", 1, 1, 640, 480)
Lua example
    MoveNotepadWindow ("my_notepad", 1, 1, 640, 480))
Return value
    0: Could not do it (notepad window not found)
    1:  Moved OK
See Also ... Topic Notepad Functions ActivateNotepad (Activates a notepad window) AppendToNotepad (Appends text to a notepad window) CloseNotepad (Closes a notepad window) GetMainWindowPosition (Returns the position and size of the main MUSHclient window) GetNotepadLength (Gets the length of the text in a notepad window) GetNotepadText (Gets the text from a notepad window) GetNotepadWindowPosition (Returns the position and size of the specified notepad window) GetWorldWindowPosition (Returns the position and size of the current world window) MoveMainWindow (Move and resize the main MUSHclient window) MoveWorldWindow (Move and resize a world window) NotepadColour (Changes the text and background colour of the selected notepad window) NotepadFont (Changes the font and style of the selected notepad window) NotepadSaveMethod (Changes the save method for this notepad window) ReplaceNotepad (Replaces text in a notepad window) SaveNotepad (Saves a notepad window to disk) SendToNotepad (Creates a notepad and sends text to it) (Help topic: function=MoveNotepadWindow) Documentation contents page