<< tk_getdir 5-2 with_gtk >>

Removed >> Removed > 5-2 > tk_savefile

tk_savefile

dialog to get a file path for writing

Calling Sequence

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')

Parameters

file_mask

a character string which gives the file mask to use for file selection. file_mask is written with Unix convention. the default value is '*'.

dir

a character string which gives the initial directory used for file search. by default tk_savefile uses the previously selected directory.

path

is the user selected file path if user answers "Ok" or the " " string if user answers "Cancel"

Title='string'

Optional argument which gives the title for the tk_savefile window. Warning: Use the new variable Title instead of the old variable title.

Description

Creates a dialog window for output file selection

Examples

tk_savefile()
tk_savefile('*.sci','SCI/modules/graphics/macros')
tk_savefile(Title='Choose a file name ')

See Also

History

VersionDescription
5.2.2 tk_savefile was published up to Scilab 5.2.2. It is replaced with uiputfile.

Report an issue
<< tk_getdir 5-2 with_gtk >>