From: Joe Hays on
Hello all,

How can I get a notebook to programmatically save itself at controlled
locations? I don't want to use the NotebookAutoSave property because that
saves the notebook everytime a cell produces an output. I want more control
over when the notebook save itself.

Ideas?


From: Albert Retey on
Hi,

> How can I get a notebook to programmatically save itself at controlled
> locations? I don't want to use the NotebookAutoSave property because that
> saves the notebook everytime a cell produces an output. I want more control
> over when the notebook save itself.
>
> Ideas?

I don't understand exactly what you want, but I think you could use
NotebookSave in one way or the other:

NotebookSave[EvaluationNotebook[],controlledlocation]

hth,

albert

From: David Reiss on
NotebookSave

On Feb 25, 7:41 pm, Joe Hays <joeh...(a)vt.edu> wrote:
> Hello all,
>
> How can I get a notebook to programmatically save itself at controlled
> locations? I don't want to use the NotebookAutoSave property because that
> saves the notebook everytime a cell produces an output. I want more contr=
ol
> over when the notebook save itself.
>
> Ideas?


From: Vince Virgilio on
On Feb 25, 7:41 pm, Joe Hays <joeh...(a)vt.edu> wrote:
> Hello all,
>
> How can I get a notebook to programmatically save itself at controlled
> locations? I don't want to use the NotebookAutoSave property because that
> saves the notebook everytime a cell produces an output. I want more control
> over when the notebook save itself.
>
> Ideas?

For a periodic save, perhaps some combination of Dynamic and Clock
would do.

In Doc Center, start here:

ref/Clock

Vince Virgilio

From: Joe Hays on
Albert,

NotebookSave[EvaluationNotebook[]]

is exactly what I wanted! EvaluationNotebook was the key I hadn't found in
my documentation searches. Thanks for the help.

Joe

On Fri, Feb 26, 2010 at 4:06 AM, Albert Retey <awnl(a)gmx-topmail.de> wrote:

> Hi,
>
> > How can I get a notebook to programmatically save itself at controlled
> > locations? I don't want to use the NotebookAutoSave property because that
> > saves the notebook everytime a cell produces an output. I want more
> control
> > over when the notebook save itself.
> >
> > Ideas?
>
> I don't understand exactly what you want, but I think you could use
> NotebookSave in one way or the other:
>
> NotebookSave[EvaluationNotebook[],controlledlocation]
>
> hth,
>
> albert
>
>