cindysdad

Keep cursor on bar while scrolling

2 posts in this topic

Newbie here.  When moving scroll bar vertically, I often slide off the bar (paying attention to window content instead). Is it possible to write an AutoIt script that would:
1) when I depress and hold down the left mouse button, recognize that cursor is on a scroll bar, and whether horizontal or vertical.
2) until mouse button is released, limit motion of cursor to selected scroll bar, even if mouse movement would otherwise move cursor off the bar.

If 1 above is not possible, perhaps using a control key during initial mouse button depression would be second choice.

Hints, if not complete code, would surely be appreciated.
TIA for any and all help on this.
-- Keith  :blink:

Share this post


Link to post
Share on other sites



You are searching for

_MouseTrap

 

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now