Jump to content
Sign in to follow this  
Psychokinesis

Senddownkeydelay

Recommended Posts

Psychokinesis

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
Thatsgreat2345

Opt :lmao:

Share this post


Link to post
Share on other sites
this-is-me

no.

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

Who else would I be?

Share this post


Link to post
Share on other sites
Richard Robertson

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
Psychokinesis

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  

×