Sign in to follow this  
Followers 0
Guest Arithin

Question

6 posts in this topic

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



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

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

Send("{SHIFTDOWN}")

mouseclick or w/e

Send("{SHIFTUP}")

Share this post


Link to post
Share on other sites

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