MathGroup Archive 1998

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

Search the Archive

Re: button to read in an external file

  • To: mathgroup at
  • Subject: [mg15203] Re: button to read in an external file
  • From: Rolf Mertig <rolf at>
  • Date: Tue, 22 Dec 1998 04:01:35 -0500
  • Organization: Mertig Research & Consulting
  • References: <75a0bf$>
  • Sender: owner-wri-mathgroup at

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!