Sign in to follow this  
Followers 0
lamer

Need a script to hold down a key while pressing another key

4 posts in this topic

#1 ·  Posted (edited)

I'm new to this program, sorry for my bad english...
I need help to hold down the "A" key when it's pressed, while i'm holding down the "E" key, and when i release "E" key, "A" is released too...


Example:

-holding down "E";
-just press (not holding) "A" key;
-"A" stay pressed till releasing of "E" key.


it is possible to do?

Edited by lamer

Share this post


Link to post
Share on other sites



Yes, it's possible. Check the help file for usage on the functions _IsPressed and Send. If you have trouble, show the code you have so far, explain what you're trying to do and where it fails, and we can be of more help.


Roses are FF0000, violets are 0000FF... All my base are belong to you.

Share this post


Link to post
Share on other sites

Yes, it's possible. Check the help file for usage on the functions _IsPressed and Send. If you have trouble, show the code you have so far, explain what you're trying to do and where it fails, and we can be of more help.

 

ok i will try these commands and post the result, thanks ;)

Share this post


Link to post
Share on other sites

Anything is possible, the question is why? What are you trying to automate? I guarantee there is a better way to do it than with Send.


√-1 2^3 ∑ π, and it was delicious!

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