Jump to content

Hold X key for X seconds


Recommended Posts

I haven't been able to find any real methods of holding a key down, I have seen stuff that just repeats the key, I tried like

SendKeyDownDelay 5000

then

Send("{LEFT down}")

and it didn't hold down the left key for 5 seconds.

Please help!

Thanks!

DaUberBird

Link to comment
Share on other sites

  • Moderators

That repeats the key, I don't want it to repeat, I want it to be held down.

You'll have to find another way then if SendKeyDownDelay() doesn't work... I'm curious though, what does the function do that I sent you the link to, that holding the "left" key down for 5 seconds doesn't do?

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

  • Moderators

Some windows games may not allow the option, why don't you post what your trying to do this on, and maybe we (the forum) may have a solution for you.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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...