Message Boards Message Boards

0
|
4204 Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

how to `get` file and execute at notebook open time

Posted 9 years ago

Is there an option to save a code in another file (say .nb by just copy pasting) and then when opening a new blank .nb call the saved one in such a way that it executes everything on it and outputs results in the newly opened file without showing the original code, just like if we had it and Shift+Entered?

I know one can in principal develop a package .m but if simple import execution is possible it will save a lot of time. Thanks.

POSTED BY: Al Guy
Posted 9 years ago

NotebookEvaluate

POSTED BY: Al Guy
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract