Description of MUSHclient world function: world.SaveNotepad
Name | SaveNotepad |
---|---|
Type | Method |
Summary | Saves a notepad window to disk |
Prototype | long SaveNotepad(BSTR Title, BSTR FileName, BOOL ReplaceExisting);
|
Description | This saves an existing notepad window to disk. Note: Available in version 3.29 onwards. |
VBscript example |
|
Jscript example |
|
PerlScript example |
|
Python example |
|
Lua example |
|
Lua notes |
|
Returns | 1 = saved OK |
Introduced in version | 3.29 |
See also ...
Function | Description |
---|---|
ActivateNotepad | Activates a notepad window |
AppendToNotepad | Appends text to a notepad window |
CloseNotepad | Closes a notepad window |
GetNotepadLength | Gets the length of the text in a notepad window |
GetNotepadList | Gets the list of open notepads - returning their titles |
GetNotepadText | Gets the text from a notepad window |
NotepadSaveMethod | Changes the save method for this notepad window |
ReplaceNotepad | Replaces text in a notepad window |
SendToNotepad | Creates a notepad and sends text to it |
Enter a word or phrase in the box below to narrow the list down to those that match.
The function name, prototype, summary, and description are searched.
Leave blank to show all functions.
Many functions return a "code" which indicates the success or otherwise of the function.
You can view a list of the return codes
The "prototype" part of each function description lists exactly how the function is called (what arguments, if any, to pass to it).
You can view a list of the data types used in function prototypes
Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.