ogrish Posted August 29, 2011 Share Posted August 29, 2011 Hi, I need to process a high text area component. Since it's high, i need to process one page at a time. Then i send a {pagedown} key to process the next page. I want to know how to determine whether the scrollbar is one the bottom of the page (if so that means the process is complete). Thanks. Link to comment Share on other sites More sharing options...
martin Posted August 29, 2011 Share Posted August 29, 2011 Hi,I need to process a high text area component. Since it's high, i need to process one page at a time. Then i send a {pagedown} key to process the next page. I want to know how to determine whether the scrollbar is one the bottom of the page (if so that means the process is complete). Thanks.If you can get the handle of the scrollbar then maybe you can use the GetScrollInfo function.Maybe you could get the current line where the cursor is, which might be the end of the page each time or the end of the document, and compare that to the number of lines in the edit.Or get the total number of lines and count the lines you've processed.Or you could page down and if the text didn't change then that's the end. Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
Zedna Posted August 29, 2011 Share Posted August 29, 2011 (edited) As Martin said. Look at _GUIScrollBars_GetScrollInfo() or _GUIScrollBars_GetScrollInfoPos() or _GUIScrollBars_GetScrollPos() example in Autoit's helpfile. Edited August 29, 2011 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search 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