Jump to content

Need Help With Holding Key Command


Recommended Posts

OK this is either a bug or I'm doing something strange. I'm well aware of how to make a button being held, but the script just won't do it.

This is what I got for the test:

RUN("Notepad.exe");
Sleep(1000);
Send("{NUMPAD2 down}");
Sleep(3000);
Send("{NUMPAD2 up}");

In my version 3.0.91 of AutoIT, in notepad all that is written is the number 2 once. I should see multiple 2's in notepad. I tested it with other keys like "a" with the same results, it just won't hold.

Any help? It's imporant in my script to hold down NUMPAD2 which is actually the arrow down button for a few seconds or otherwise the whole script is junk :whistle:.

Edited by ravenfyre
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...