Re: Restricting file type with SystemDialogInput
- To: mathgroup at smc.vnet.net
- Subject: [mg110957] Re: Restricting file type with SystemDialogInput
- From: John Fultz <jfultz at wolfram.com>
- Date: Wed, 14 Jul 2010 05:35:22 -0400 (EDT)
On Tue, 13 Jul 2010 05:26:37 -0400 (EDT), Nate Dudenhoeffer wrote: > I would like to use SystemDialogInput with FileOpen, but restrict the type > of file the user may select. For example, only allow the user to select > files like "*.csv". Is there a way to do this? > > Nate The documentation for SystemDialogInput[] gives the specification for this. In your example, SystemDialogInput["FileOpen", {"", {"CSV Files" -> {"*.csv"}}}] Sincerely, John Fultz jfultz at wolfram.com User Interface Group Wolfram Research, Inc.