I wrote a notebook containing initialization cells:
(1) notebook's options related to initialization are set to:
InitializationCellEvaluation -> True
InitializationCellWarning -> False
(2) the notebook is placed into a trusted directory.
By the way, TrustByDefault
is True
.
However, in spite of that, I constantly receive the "Do you want automatically evaluate all initilization cells in the notebook
" and "This file contains potentially unsafe content
" warnings.
(Q1) Why does it happen ?
(Q2) Here Notebook Initialization is said (about a quite different situation):
I believe that I now know the answer. In addition to setting InitializationCellEvaluation option to True InitializationCellWarning option to False with the notebook selected, you also need to set these same values at the Global Preference level.
Admitted that this is pertinent to my case, I can't see, nor in Options Inspector
> Global Preferences
neither in tutorial/NotebookSecurity
an explict indication. (8.0.1.0)