How can I start an evaluation of the initialization cells when a notebook is opened?
Should I use FrontEndExecute[] in some way?
Asked
Active
Viewed 501 times
0
Ale1794
- 525
- 3
- 10
FrontEndTokenExecute["EvaluateInitialization"]but note that even if you make thisDynamicyou will still need to enableDynamicfor that notebook before it will work. – b3m2a1 Jun 06 '17 at 14:47NotebookDynamicExpressionor similar. Sorry about that. – b3m2a1 Jun 06 '17 at 14:55NotebookDynamicExpressionis an option. Please read the documentation. This should not be in a cell as obviously that cell will be evaluated every time you run the initialization, which will re-run the initialization, etc. – b3m2a1 Jun 06 '17 at 15:02