Sign in to follow this  
Followers 0
wccppp

Hold Down "CTRL" Key Scrolling Mouse Wheel?

3 posts in this topic

Hello,

In Firefox, user can perform zoom in and out by holding down "CTRL" key while scrolling the mouse wheel? How do I do it with AutoIt? I tried something like this but didn't work. Thanks for your help!

AutoItSetOption ( "SendKeyDownDelay", 3000)

MouseClick ("left", 1100, 800, 1)

Send ("^")

MouseWheel("up", 12)

AutoItSetOption ( "SendKeyDownDelay", 5)

Share this post


Link to post
Share on other sites



Send("{CTRLDOWN}")

MouseWheel("up",12)

Send("{CTRLUP}")

I hope...


f_mrcleansmalm_77ce002.jpgAutoIt has helped make me wealthy

Share this post


Link to post
Share on other sites

Thanks Larry. That was it.

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  
Followers 0