Psychokinesis Posted October 15, 2006 Share Posted October 15, 2006 AutoItSetOption("SendKeyDownDelay", 2000) Isn't the code above supposed to make my macro hold down a key for 2 seconds? Its not working. Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted October 15, 2006 Share Posted October 15, 2006 Opt Link to comment Share on other sites More sharing options...
this-is-me Posted October 15, 2006 Share Posted October 15, 2006 no. Send("{key down}") Sleep(2000) Send("{key up}") Who else would I be? Link to comment Share on other sites More sharing options...
Richard Robertson Posted October 15, 2006 Share Posted October 15, 2006 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. Link to comment Share on other sites More sharing options...
Psychokinesis Posted October 15, 2006 Author Share Posted October 15, 2006 Send("{RIGHT down}") Is this correct? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now