Re: Restricting file type with SystemDialogInput
- To: mathgroup at smc.vnet.net
- Subject: [mg110966] Re: Restricting file type with SystemDialogInput
- From: Albert Retey <awnl at gmx-topmail.de>
- Date: Wed, 14 Jul 2010 05:37:01 -0400 (EDT)
- References: <i1hbgk$648$1@smc.vnet.net>
Am 13.07.2010 11:26, schrieb Nate Dudenhoeffer:
> 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
>
>
something like this should work:
SystemDialogInput["FileOpen", {"default.csv", {"CSV" -> {"*.csv"}}}]
hth,
albert