[Date Index] [Thread Index] [Author Index]
making something autoexecute before normal execution
hello, i'm interested in making an autosave package (since i'm always losing my work when mathematica crashes! argh). my idea was to force the kernel to execute an autosave type function, which would be no problem to code, every time the user basically presses ctrl+return to send stuff to the kernel to execute. i know there is, for example, the $NewSymbol system function which, if set by the user, is always run whenever a new symbol is encountered. is there something similar for whenever the kernel executes anything? obviously it would have to be only when a user actually hits ctrl+return or the like, not at every level of the execution stack! any help appreciated! thanks, josh b.