Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

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


  • Prev by Date: Printing part of table
  • Next by Date: Re: deploying a package in human-unreadable form
  • Previous by thread: Re: Restricting file type with SystemDialogInput
  • Next by thread: Division by zero Optimization