MathGroup Archive 2006

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

Search the Archive

Re: How to run/call a Mathematica Notebook from another Notebook


Prash wrote:
> HI,
> 
> How to run/call a Mathematica Notebook from another Notebook ?
> 
> say, I want Notebook A and B to be executed and then Notebook C. How do
> I run/call Notebooks A and B from C ?
> 
> Regards,
> Prashanth
> 
  For example,

  nb= NotebookOpen["C:\\Program Files\\Wolfram 
Research\\Mathematica\\5.2\\AddOns\\Applications\\WebServices\\Examples\\WolframWebSearch.nb"];
  SelectionMove[ nb, All, Notebook]
  SelectionEvaluate[nb]
NotebookClose[nb]

Check section 2.11.3 "Manipulating Notebooks from the Kernel" of _The 
Mathematica Book_, 
http://documents.wolfram.com/mathematica/book/section-2.11.3

HTH,
Jean-Marc


  • Prev by Date: Re: using answer form reduce
  • Next by Date: Re: Hyperlink to *.pdf File
  • Previous by thread: How to run/call a Mathematica Notebook from another Notebook
  • Next by thread: Re: How to run/call a Mathematica Notebook from another Notebook