dialog to get one or more file paths
path=tk_getfile([Title="string"]) path=tk_getfile([multip="1"]) path=tk_getfile(file_mask[,Title="string"][,multip="1"]) path=tk_getfile(file_mask,dir[,Title="string"]) path=tk_getfile(file_mask,dir[,Title="string"][,multip="1"]) path=tk_getfile(file_mask,dir,"string"[,"multip"])
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_getfile uses the previously selected directory.
is the user selected file path(s) if user answers "Ok" or the " " string if user answers "Cancel".
Optional argument which gives the title for the tk_getfile
window. Warning
: Use the new variable
Title
instead of the old variable
title
.
Optional argument which allows to select more than one file at once in the tk_getfile window. If given, it must be the string "1". Otherwise, or if not given, this argument defaults to "0" i.e. only one file can be selected in the dialog.
Creates a dialog window for file selection.
This function is obsolete and will be removed in Scilab 5.2, please use uigetfile instead.
Version | Description |
5.1.1 | tk_getfile was published up to Scilab 5.1.1.
It is replaced with uigetfile. |