Psychokinesis Posted October 15, 2006 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.
this-is-me Posted October 15, 2006 Posted October 15, 2006 no. Send("{key down}") Sleep(2000) Send("{key up}") Who else would I be?
Richard Robertson Posted October 15, 2006 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.
Psychokinesis Posted October 15, 2006 Author Posted October 15, 2006 Send("{RIGHT down}") Is this correct?
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