Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

Re: NotebookAutoSave?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg112050] Re: NotebookAutoSave?
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Fri, 27 Aug 2010 04:07:07 -0400 (EDT)

I don't know about that code, but there's a direct way to enable 
auto-save for a notebook -- presumably one you've already saved once:

0. Select the notebook.

1. In the Options Inspector, set the "Show option values" field to 
"Selected Notebook".

2. In the "Lookup" field, search for NotebookAutoSave.

3. Change the setting for NotebookAutoSave to True and Apply it.

Now your notebook will indeed be saved anew each time you evaluate a new 
Input cell.

(Forgive what may be excess detail above.)

On 8/26/2010 6:48 AM, S. B. Gray wrote:
> I would like an Mathematica session to automatically save the current notebook
> in case I forget to do so. But the Help on NotebookAutoSave entry makes
> little sense to me.
>
>
> nb = CreateDocument[
>      Map[ExpressionCell[Defer[# + #], "Input"]&, Range[3]],
>      NotebookAutoSave ->  True];
>
> fname = $TemporaryPrefix<>  "autosave.nb";
>
> NotebookSave[nb, $TemporaryPrefix<>  "autosave.nb"]
>
> How do I use this or what should I do instead? Autosaving every few
> minutes or on output would be OK. Thank you for tips and info.

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305


  • Prev by Date: Re: List of multiple elements
  • Next by Date: Washington DC Area Mathematica Special Interest Group
  • Previous by thread: NotebookAutoSave?
  • Next by thread: List of multiple elements