GetFileOpenDlgTitle
The GetFileOpenDlgTItle function returns the current title used for Open dialogs.
sTitle = GetFileOpenDlgTitle()
where
where sTitle is a string. On failure, "Open" is returned.
This command is normally used with the companion SetFileOpenDlgTitle method for manipulating the title of the Open dialog to tune it to specific cases.
This script sets the dialog title on 2 occasions, then restores it to the default.
|
-- fetch the original title |
|
-- set a new title |
|
-- uses the new title |
-- |
|
|
-- change the title again |
|
-- uses the second title |
-- |
|
|
-- restore the original title |