Opens a file chooser and prints the chosen file.
Usages
filechooser [options]
Asks the user to select a file via the file browser. The result is printed to the textport, and can be assigned to a variable.
Options
-d dir
| Sets the directory the browser starts in. |
-m
| Allow the user to select multiple files. |
-n name
| Sets the name of the browser, visible in the dialog title bar. |
-p file_pattern
| Sets the initial file pattern, so that only files matching that
pattern are shown. |
-s
| Allow file sequences to grouped as sequences and not individual
files ( |
-t filetype
| Show only files of the given type. filetype can be one of:
|
Examples
set myfile = `run("filechooser -t pic")`