CTextView:GetTitle
The GetTitle method returns the window title of the CTextView window. Usually, this is used to fetch the title of a CTextView that is attached using attach_textview, attachlist_textview, or their equivalent class methods. The title can be set when the CTextView is created or when saved to a file using SaveAs.
strTitle = CTextView:GetTitle() |
On success, this method returns thewindow title as a string.
On failure, this method returns nil.
Suppose a CTextView T exists. The following script returns its title:
|
-- get the window title |
|
-- if strTitle is not returned as nil |
|
-- print the window title |
|
|
Mira Pro x64 Script User's Guide, v.8.73 Copyright Ⓒ 2024
Mirametrics, Inc. All Rights Reserved.