Prev: Problems with ChoiceDialog inside a Dynamic: Bug or not (well)
Next: Problems with ChoiceDialog inside a Dynamic: Bug or not (well) documented limitation?
From: Joe Hays on 25 Feb 2010 19:41 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 26 Feb 2010 04:06 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 26 Feb 2010 04:07 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 26 Feb 2010 04:08 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 27 Feb 2010 03:12
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 > > |