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,
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. (220.127.116.11)