({{, (RefLink[AutoScroll, paclet:ref/AutoScroll]) 
is an option to (RefLink[SelectionMove, paclet:ref/SelectionMove]) and related functions that specifies whether a notebook should automatically be scrolled to display the current selection.}})

OpenersPrimaryExamplesSection(Spacer1)Examples  (2)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

Create a notebook with many cells:

nb=CreateDocument[Range[20]];

Move the selection and allow automatic scrolling to the new selection:

SelectionMove[nb,Next,Cell,7]

Move the selection further without automatic scrolling:

SelectionMove[nb,Next,Cell,5,AutoScroll->False]

OpenersExampleSection1(Spacer1)Scope  (1)

Create a notebook window with many cells:

nb=CreateDocument[Range[20]];

Find and select the number 12 without scrolling:

NotebookFind[nb,"12",AutoScroll->False];

Read what is currently selected:

NotebookRead[nb]

Make content changes without scrolling:

NotebookApply[nb,SqrtBox["\[SelectionPlaceholder]"],AutoScroll->False]

NotebookWrite[nb,"/2",AutoScroll->False]

Select the current cell's contents with automatic scrolling:

SelectionMove[nb,All,CellContents]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[Visible, paclet:ref/Visible])  ▪  (RefLink[ShowSelection, paclet:ref/ShowSelection])  ▪  (RefLink[NotebookWrite, paclet:ref/NotebookWrite])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Low-Level Notebook Programming, paclet:guide/LowLevelNotebookProgramming])}})}})