display a Maplet application that allows the user to choose a file
equation(s) of the form option=value; where option is one of approvecaption, filefilter, filterdescription, or title; specify options for the Maplet application
The GetFile(opts) calling sequence displays a file dialog that allows the user to choose a file. The value returned is the string corresponding to the chosen file. If a file is not selected, an exception is raised.
The GetFile sample Maplet worksheet describes how to write a Maplet application that behaves similarly to this routine by using the Maplets[Elements] package.
The opts argument can contain one or more of the following equations that set Maplet application options.
approvecaption = string or symbol
The text that appears on the button that is clicked to select the file. By default, the value is Open.
filefilter = string or symbol
The extension of the files that display. By default, the value is "*", that is, all files are shown. It can also be used with other extensions, for example, "mws", "m", or "mpl".
filterdescription = string or symbol
A description of the filefilter. By default, the value is the value of the option filefilter.
title = string or symbol
Specifies the Maplet application title. By default, the title is Get File.
GetFile Sample Maplet
Overview of Maplet Applications
Download Help Document