Does horizontal or vertical scrolling.
Object.Scroll direction, scrollcode
Parameters
- Direction
Required. A String value. The scroll direction. "WM_HSCROLL" for horizontal scrolling. "WM_VSCROLL" for vertical scrolling. Required. A String value. This parameter denotes the type of scrolling that should be performed. The list of scroll codes found here.
- ScrollCode
Required. A String value. The scroll code.
Scroll on [direction].
Example:
Scroll "WM_VSCROLL",
"SB_LINEDOWN"
Scrolls one line down.
Scroll "WM_VSCROLL",
"SB_TOP"
Scrolls to the top of the object.