CTextView:Save
The Save method saves the contents of the CTextView window to the file name in the window title. To save to a different file name or path, use SaveAs.
bResult = CTextView:Save() |
On success, this method returns bResult = true.
On failure, this method returns false.
Suppose a CTextView T exists. The following script saves its contents to its original path:
|
-- save the text to a file |
|
-- if not saved, then... |
|
-- error message |
|
|
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics,
Inc. All Rights Reserved.