world.ActivateNotepad

MUSHclient script function (Method)

Activates a notepad window

Prototype

boolean ActivateNotepad(BSTR Title);

Data type meanings

Description

Activates (makes the active window) the notepad window of the given title.

VBscript example

world.ActivateNotepad "Nick's window"

Jscript example

world.ActivateNotepad("Nick's window");

PerlScript example

$world->ActivateNotepad("Nick's window");

Python example

world.ActivateNotepad("Nick's window")

Lua example

ActivateNotepad("Nick's window")

Return value

0: Could not do it.
1: Activated OK

Related topic

Notepad

See also

FunctionDescription
ActivateActivates the world window
ActivateClientActivates the main MUSHclient window
AppendToNotepadAppends text to a notepad window
CloseNotepadCloses a notepad window
GetNotepadLengthGets the length of the text in a notepad window
GetNotepadListGets the list of open notepads - returning their titles
GetNotepadTextGets the text from a notepad window
NotepadReadOnlyMake a selected notepad window read-only
ReplaceNotepadReplaces text in a notepad window
SaveNotepadSaves a notepad window to disk
SendToNotepadCreates a notepad and sends text to it