MathGroup Archive 2010

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

Search the Archive

Re: Re: Programmatically saving myself

  • To: mathgroup at smc.vnet.net
  • Subject: [mg107827] [mg107827] Re: [mg107804] Re: Programmatically saving myself
  • From: Christoph Lhotka <lhochr at gmail.com>
  • Date: Sat, 27 Feb 2010 03:16:51 -0500 (EST)
  • References: <hm75ch$iu9$1@smc.vnet.net> <201002260908.EAA01456@smc.vnet.net>

hi, a combination of the functions NotebookSave and  EvaluationNotebook 
should do the job.
e.g., inside your code, something like:

NotebookSave[EvaluationNotebook[],"dump.save.nb"]

will save the notebook of evaluation into the file "dump.save.nb" 
whenever it is evaluated.

chr



Vince Virgilio wrote:
> On Feb 25, 7:41 pm, Joe Hays <joeh... at 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
>
>
>
>   



  • Prev by Date: CONDITION/DATA ANALYSIS/PLOTS
  • Next by Date: Parametrized assumptions
  • Previous by thread: Re: Programmatically saving myself
  • Next by thread: Applying Apply