Jump to content
Sign in to follow this  
Ster

How can I Perform a Control-MouseClick?

Recommended Posts

Ster

I want to use MouseClick, but I also want to perform {CNTRL} keydown so it will be a control-click. Anyone know how?

Thanks.

Share this post


Link to post
Share on other sites
LxP

I want to use MouseClick, but I also want to perform {CNTRL} keydown so it will be a control-click.  Anyone know how?

Have you tried this, which may or may not work? --

send("{CTRLDOWN}")
mouseClick("left")
send("{CTRLUP}")

Share this post


Link to post
Share on other sites
Ster

that worked! woo hoo!

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  

×