sydok Posted May 31, 2004 Posted May 31, 2004 Would Opt("SendKeyDownDelay", 150)Send("!1")work the exact same as Send("{ALT} down")Send("1 down")Sleep(150)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.
CyberSlug Posted May 31, 2004 Posted May 31, 2004 Make sure to put "up" and "down" inside of {}, and notice that "ALTDOWN" is used instead of "Alt down": Send("{ALTDOWN}{1 down}") Sleep(150) 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!
sydok Posted May 31, 2004 Author Posted May 31, 2004 I'm currently useing a script that uses the down and up method and it's running fine.Send ("{ALT down}")Send ("{3 down}")Sleep(0150)Send ("{3 up}")Send ("{ALT up}") That was copy and pasted from the script. I guess my question is, will Opt("SendKeyDownDelay", 150)Send("!1")hold down both alt and 1 for 150 milliseconds in the same manner as the down>up method I've been useing?
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