Sign in to follow this  
Followers 0
Psychokinesis

Senddownkeydelay

5 posts in this topic

AutoItSetOption("SendKeyDownDelay", 2000)

Isn't the code above supposed to make my macro hold down a key for 2 seconds? Its not working.

Share this post


Link to post
Share on other sites



Opt :lmao:

Share this post


Link to post
Share on other sites

no.

Send("{key down}")
Sleep(2000)
Send("{key up}")

Who else would I be?

Share this post


Link to post
Share on other sites

That option is

"Alters the length of time a key is held down before being released during a keystroke. For applications that take a while to register keypresses (and many games) you may need to raise this value from the default.

Time in milliseconds to pause (default=5)."

in the help file.

This means that a single keystroke will be that long. I suppose it has to do with typing.

Try letting us see some Send code too.

Share this post


Link to post
Share on other sites

Send("{RIGHT down}")

Is this correct?

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