Jump to content
Sign in to follow this  
Champak

Button seek/hold

Recommended Posts

Champak

Is it possible to hold down a gui button and have it continue to do something...like scroll through something, or go through pages. And once released it stops? ...I'm assuming no, but asking anyway just in case.

Share this post


Link to post
Share on other sites
PsaltyDS

Is it possible to hold down a gui button and have it continue to do something...like scroll through something, or go through pages. And once released it stops? ...I'm assuming no, but asking anyway just in case.

Holding down a mouse button and moving the mouse is just click-and-drag. Holding down a GUI button implies the mouse stays on the button, so what is the scrolling action -- arrow keys? What's the application? I can't picture a situation for this.

You could do MouseDown() over the button and the ControlSend() the arrow keys, I guess.

:)

Edited by PsaltyDS

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites
Champak

What I mean is like holding down the the up/down arrow buttons on a scroll bar and the window scrolls, instead of constantly pressing the up/down scroll bar button (although with the scroll buttons you have to double click and hold down to scroll). I'm asking if I can program a GUI button to do the same and scroll through something/page/screen/list by holding it down.

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.