MathGroup Archive 2010

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

Search the Archive

Re: Restricting file type with SystemDialogInput


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.


  • Prev by Date: Re: Chi Square Areas
  • Next by Date: Mathematica link to a c++ lib
  • Previous by thread: Restricting file type with SystemDialogInput
  • Next by thread: Re: Restricting file type with SystemDialogInput