Re: FileName Widget
- To: mathgroup at smc.vnet.net
- Subject: [mg114459] Re: FileName Widget
- From: Murray Eisenberg <murray at math.umass.edu>
- Date: Sun, 5 Dec 2010 21:49:42 -0500 (EST)
It's there, you just have to put the pieces together a bit. Here's one way, e.g.: FileNameSetter[Dynamic[f], "Open"] name = Dynamic[f] On 12/4/2010 6:13 AM, leigh pascoe wrote: > Has anybody written a widget to find and return file names. For example > if I want to import an image or data file into mathematica, or assign a > file name to a $Variable, it would be very convenient to have a function > key that launched a windows style widget that permitted searching > through directories (starting with My Computer or C:) and selecting the > appropriate file. The full path of the selected file would then be > inserted at the cursor. > > That seems such an obvious tool that it must exist already, but I > haven't seen reference to one anywhere. Anybody? > > LP > -- Murray Eisenberg murray at math.umass.edu Mathematics & Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts 413 545-2859 (W) 710 North Pleasant Street fax 413 545-1801 Amherst, MA 01003-9305