SelectionMove[obj, dir, unit] moves the current selection in an open notebook in the front end in the direction dir by the specified unit.
SelectionMove[obj, dir, unit, n] repeats the move n times.
The first argument of SelectionMove must be a NotebookObject.
Possible direction specifications are:
Possible unit specifications are:
Unless the option setting AutoScroll->False is given, the front end will scroll a notebook so that the result of SelectionMove is visible.
The front end will also usually highlight the region corresponding to the result.
With direction specifications After and Before, SelectionMove will usually make the current selection be an insertion point between two units of the specified type.
SelectionMove returns $Failed if it cannot move the selection in the way you request.
The EvaluationCell defines the point after which output from the current evaluation will by default be placed.
A GeneratedCell corresponds to an element of the output.
See The Mathematica Book: Section 2.10.3.
See also: NotebookSelection, NotebookWrite, NotebookRead.