Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Detect if scrollbar reached end
#1
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?)
#2
Macro Macro2752
Code:
Copy      Help
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"
#3
Wow thank you!!!


Forum Jump:


Users browsing this thread: 1 Guest(s)