Jump to content
Sign in to follow this  
Guest Arithin

Question

Recommended Posts

Guest Arithin

Hi i was just wondering if its possible in autoit to send a combination that uses key press and mouse click.

For example in a game i play you must hold shift down and click somthing while the shift key is down. Can i replacate that in autoit?

Share this post


Link to post
Share on other sites
buzz44

Look at Send() and MouseClick().


qq

Share this post


Link to post
Share on other sites
Guest Arithin

Look at Send() and MouseClick().

<{POST_SNAPBACK}>

Yes i know that sends them one after another but the shift key must be down while the mouse click occurs.

Share this post


Link to post
Share on other sites
LxP

Take a look at Send()'s {SHIFTDOWN} and {SHIFTUP} operators. You will be able to achieve what you want with these.

Share this post


Link to post
Share on other sites
pcdestroyer

Send("{SHIFTDOWN}")

mouseclick or w/e

Send("{SHIFTUP}")

Share this post


Link to post
Share on other sites
Guest Arithin

Send("{SHIFTDOWN}")

mouseclick or w/e

Send("{SHIFTUP}")

<{POST_SNAPBACK}>

Thank you

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.