MathGroup Archive 2001

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

Search the Archive

Names[] for definitions in the current window/notebook?


This is probably a dumb newbie question, but I'd like to be able to 
export all the figures in my notebooks with a command like:

  Export[#<>".EPS", ToExpression[#], "EPS"] & /@ 
    Names["Notebook`Figure*"] (* Notebook` is a dummy... *)


But I can't figure out how to access the list of definitions in the 
current notebook.  Is there some trick for this, other than just 
deleting the extra files if there are other symbols that start with 
"Figure"?

Thanks.


P.S. Is there a better way to write my example above?  I'm not sure I 
fully appreciate the evaluation model yet.


  • Prev by Date: Re: Mandelbrot
  • Next by Date: Re: Exponential Equations
  • Previous by thread: Re: Mandelbrot
  • Next by thread: Re: Names[] for definitions in the current window/notebook?