Macro Reference — Window Object — scrollTo Method (Window Object)

# scrollTo Method (Window Object)

Scrolls the window to the specified position.

##

### [JavaScript]

    scrollTo( x, y);

### [VBScript]

    scrollTo x, y

## Parameters

x

Specifies a horizontal position to scroll to in columns.

y

Specifies a vertical position to scroll to in lines.

## Version

Supported on EmEditor Professional Version 4.00 or later.