I recently solved a similar problem as yours in a simple way. What I did was calculate the bottom location of the scroll bar and test whether the color of a pixel there changes. The color stays the sa ...
I've done some searching but it doesn't seem like anyone else has had this problem. I'm writing a script that uses a hotkey for the left mouse button. It works fine on my desktop PC and LT C-500 table ...