Jump to content

Quick question about SendKeyDownDelay

Recommended Posts


Opt("SendKeyDownDelay", 150)


work the exact same as

Send("{ALT} down")

Send("1 down")


Send("1 up")

Send("{ALT} up")


From what I've read in the help file it seems it would, the real question is if it works with the alt key and the 1 key simultaneously.

Thanks in advance.

Link to comment
Share on other sites

Make sure to put "up" and "down" inside of {}, and notice that "ALTDOWN" is used instead of "Alt down":

Send("{ALTDOWN}{1 down}")


Send("{1 up}{ALTUP}")

I'm not sure about the timing. Do you want a 150 ms delay after each keypress: Altdown <delay> 1 down <delay> 1 up <delay> AltUp ?

Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
Link to comment
Share on other sites

I'm currently useing a script that uses the down and up method and it's running fine.

Send ("{ALT down}")

Send ("{3 down}")


Send ("{3 up}")

Send ("{ALT up}") 

That was copy and pasted from the script. I guess my question is, will

Opt("SendKeyDownDelay", 150)


hold down both alt and 1 for 150 milliseconds in the same manner as the down>up method I've been useing?
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

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...