Jump to content

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


Recommended Posts

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
Link to comment
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.

Link to comment
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 ;)

Link to comment
Share on other sites

  • Moderators

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.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...