tk_savefile — dialog to get a file path for writing
path=tk_savefile([Title='string']) path=tk_savefile(file_mask,[Title='string']) path=tk_savefile(file_mask,dir,[Title='string']) path=tk_savefile(file_mask,dir,'string')
a character string which gives the file mask to use for file
selection. file_mask
is written with Unix convention.
the default value is '*'.
a character string which gives the initial directory used for file search. by default tk_savefile uses the previously selected directory.
is the user selected file path if user answers "Ok" or the " " string if user answers "Cancel"
Optional argument which gives the title for the tk_savefile
window. Warning
: Use the new variable
Title
instead of the old variable title
.
WARNING: this function is obsolete (see uigetfile as a replacement of tk_savefile). It will be removed in Scilab 5.3.
Creates a dialog window for output file selection