Manipulating Mathematica Notebooks
This creates a new notebook.
This writes an input cell into a notebook.
This moves the selection to be the whole notebook.
This evaluates the selection.
This moves before the current cell.
This finds the first 30 occurrences of 5 in the notebook.
This closes the notebook.
Here is the definition.
Running this will create a new notebook containing messages for all functions whose names start with Li.
Here is another function which writes cells directly into the current notebook.
Running this will insert new cells into the current notebook.
This puts a small notebook up on the screen.
Executing this makes the notebook cyclically change color.
This puts a notebook up on the screen.
This makes the edges of the notebook pulsate.
This creates a small new notebook.
Evaluating this will make the notebook execute 100 steps in a random walk on the screen.