Jump to content
Sign in to follow this  
vitycent

Script To Scroll Up And Down With The Mouse Wheel

Recommended Posts

vitycent

Hi there, kinda of a noob here with autoit. i did a lil bit of searching to see if they had something to do this. Bascially i need a script that simulates the mouse wheel scrolling back and forth. thx for your help!

Share this post


Link to post
Share on other sites
Thatsgreat2345

MouseWheel("up",10)
sleep(100)
MouseWheel("down",10)

change up to down if u want it to scroll down and 10 to the number of times u want it to do it

to go back and forth just add a loop so ill let you figure out how to do a loop

Edited by thatsgreat2345

Share this post


Link to post
Share on other sites
Evil_Has_Survived

I have not a problem with scroll up and down, but is there a command to push the scroll down, not scroll down but you can also push the scroll botton down but I don't know te command, like in some games it changes your weapon. :think:


Thanks in advance

Share this post


Link to post
Share on other sites
Thatsgreat2345

to push the scroll button u do

MouseClick("middle")

Share this post


Link to post
Share on other sites
Evil_Has_Survived

to push the scroll button u do

MouseClick("middle")
lol I should of knew that, thanks

Thanks in advance

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.