Home > Software engineering >  VBS how to control the scroll bar
VBS how to control the scroll bar

Time:10-05

Automated testing, now we do because of the scroll box things too much, when we were in the screenshot need to use all of the data, so need VBS to control the scroll bar, let it automatically scroll down, have to know how to get this? Urgent need, hope to know to answer, thank you ~

CodePudding user response:

Have a scroll bar window is the window of this type textbox?
Can try sendkey approach to send End is the window of the scroll bar, Home, PageUp, PageDown, etc.,,,

CodePudding user response:

The following API can also scroll the scroll bar
SetScrolllnfo
SetScrollPos
ScrollWindow
ScrollWindowEx
The original poster can check this a few the use of API,
  • Related