MathGroup Archive 1998

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

Search the Archive

Re: button to read in an external file

Gerd Klintschar wrote:
> Hello everybody,
> sorry if that is a stupid question but I am really a newby:
> I would like to generate a button in the Math Frontend that makes an
> external file to be read (i.e. "C:\junk"). I could not figure that out
> with the online help.
> Please, can some good soul give me a hint?
> thx very much
> Gerd

Evaluate the following in a single cell:

Button["<</tmp/junk", ButtonFunction :> << "/tmp/junk", 
  ButtonEvaluator -> Automatic]
SelectionMove[InputNotebook[], Previous, Cell]; 


Rolf Mertig
Mertig Research & Consulting  
Mathematica training and programming Development and distribution of

  • Prev by Date: Re: rician random number
  • Next by Date: Re: Including Mathematica notebooks in LaTeX
  • Previous by thread: button to read in an external file
  • Next by thread: Re: No trace of trace!