Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: Re: Notebook output write to a different file

  • To: mathgroup at
  • Subject: [mg52027] Re: [mg51972] Re: Notebook output write to a different file
  • From: Namrata Khemka <namrata.khemka at>
  • Date: Sun, 7 Nov 2004 01:04:35 -0500 (EST)
  • References: <cmfapp$76o$> <>
  • Reply-to: Namrata Khemka <namrata.khemka at>
  • Sender: owner-wri-mathgroup at

Hi, Well I have done this, however here is the problem I ran into.

The following is the order I followed:
SelectionMove [nb,All,Notebook]

nb1 = NotebookOpen["test2.nb"]
And then I write the output cells  from test1.nb into test2.nb.

However here is what it does:
It does open test1.nb and the kernel starts to process it. However
before the kernel finishes the Front-end opens test2.nb and starts to
Since the kernel is not done processing, empty cells are written in test2. 

And I thought there was some other way of doing it. Is there a way to
pause, until the kernel can finish its processing and then the front
end opens the test2.nb and start to write. Or any other way of solving

Thanks a lot,

On Sat, 6 Nov 2004 02:07:32 -0500 (EST), Jens-Peer Kuska
<kuska at> wrote:
> Hi,
> NotebookWrite[notebook, data] writes data into a notebook at the current \
> selection, setting the current selection to be just after the data written.
> \
> NotebookWrite[notebook, data, sel] writes data into a notebook setting the \
> current selection to be as specified by sel.
> NotebookCreate[ ] creates a new open notebook in the front end. \
> NotebookCreate[options] sets up the specified options for the new notebook.
> should help you to creat the new notebook and write your data to that
> notebook.
> Regards
>  Jens
> "Namrata Khemka" <namrata.khemka at> schrieb im Newsbeitrag
> news:cmfapp$76o$1 at
> > Hi Everyone,
> > I in fact have another question. I have a gui (using guikit) that
> > opens up NotebookA and does all the evaluation in it (graphics, mainly
> > graphics). However I would like write each of the output cells to a
> > different notebook, for example notebookB.
> >
> > Is this possible?
> >
> > Thanks a lot once again,
> > Namrata
> >

  • Prev by Date: Re: List element replacement.
  • Next by Date: Re: Re: Re: Counting Runs
  • Previous by thread: Re: Notebook output write to a different file
  • Next by thread: Re: Notebook output write to a different file