Blakeinate Posted June 11, 2015 Share Posted June 11, 2015 So i want to make a script that will check if a window has more to scroll through and if so keep scrolling until it reaches the bottom of the window. Here is my current script.#include <GUIConstants_EX.au3> #include <WindowsConstants.au3> #include <GUIScrollBars_Ex.au3> #include <StructureConstants.au3> Local $hndl = WinGetHandle("CodeXL") Local $check = 1 While $check = 1 if _GUIScrollBars_GetScrollInfoMax($hndl, $SB_Vert) = _GUIScrollBars_GetScrollInfoTrackPos($hndl, $SB_VERT) Then $check = 0 Else MouseWheel("down", 1000) EndIf WEndI am very new to AutoIt so i am still trying to figure everything out. Any help would be much appreciated. Also, the program i want the script to scroll through has multiple scroll bars on the page, i am unsure if this affects the outcome of the script. Because currently the script does nothing (no errors though :)) Thanks guys Link to comment Share on other sites More sharing options...
Developers Jos Posted June 11, 2015 Developers Share Posted June 11, 2015 Any reason why you started a new thread while you have one going on this topic?Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Blakeinate Posted June 11, 2015 Author Share Posted June 11, 2015 Any reason why you started a new thread while you have one going on this topic?JosThe other post didn't have any code, and I decided to make the post less specific since I have got everything down except for the auto-scroll through the page. I will go ahead and delete the other thread if possible since it didnt get any helpful replies. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now