Jump to content
Sign in to follow this  
susall

Holding down Ctrl and doing MouseClick

Recommended Posts

susall

I have a piece of software I'm writing automation for, but I don't see a way to "hold down" the Ctrl key while clicking the mouse. Any ideas on how this would work in AutoIT?

-sulu

Share this post


Link to post
Share on other sites
erik7426

I have a piece of software I'm writing automation for, but I don't see a way to "hold down" the Ctrl key while clicking the mouse. Any ideas on how this would work in AutoIT?

-sulu

Send("{CTRLDOWN}")
;Code here for mouse click
Send("{CTRLUP}")
Edited by erik7426

Share this post


Link to post
Share on other sites
susall

Send("{CTRLDOWN}")
;Code here for mouse click
Send("{CTRLUP}")
That is so cool. Thank you very much!

-sulu

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.