Posts: 769
Threads: 263
Joined: Jul 2012
Is it possible to detect if a scrollbar in a window reached it's end (bottom) position?
(Or detect that a window can not scroll further down?)
Posts: 12,092
Threads: 142
Joined: Dec 2002
Macro
Macro2752
int w=win("Untitled - Notepad" "Notepad")
Acc a.Find(w "PUSHBUTTON" "Page down" "class=Edit[]id=15" 0x1025) ;;the bottom part of scrollbar, scrolls one page when clicked
rep
,1
,if(!IsWindow(w)) break
,if(a.State&STATE_SYSTEM_INVISIBLE) out "reached end"
,else out "not reached end"
Posts: 769
Threads: 263
Joined: Jul 2012