DaUberBird Posted June 13, 2006 Share Posted June 13, 2006 I haven't been able to find any real methods of holding a key down, I have seen stuff that just repeats the key, I tried like SendKeyDownDelay 5000 then Send("{LEFT down}") and it didn't hold down the left key for 5 seconds. Please help! Thanks! DaUberBird Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted June 13, 2006 Moderators Share Posted June 13, 2006 http://www.autoitscript.com/forum/index.ph...ndpost&p=194836 Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
DaUberBird Posted June 13, 2006 Author Share Posted June 13, 2006 That repeats the key, I don't want it to repeat, I want it to be held down. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted June 13, 2006 Moderators Share Posted June 13, 2006 That repeats the key, I don't want it to repeat, I want it to be held down.You'll have to find another way then if SendKeyDownDelay() doesn't work... I'm curious though, what does the function do that I sent you the link to, that holding the "left" key down for 5 seconds doesn't do? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
DaUberBird Posted June 13, 2006 Author Share Posted June 13, 2006 It seems to just repeat the key, SendKeyDownDelay doesn't seem to work at all for me... I can test by running a script with sendkeydowndelay onto 5000 and send left down and it doesnt hold down left for 5 seconds Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted June 13, 2006 Moderators Share Posted June 13, 2006 Some windows games may not allow the option, why don't you post what your trying to do this on, and maybe we (the forum) may have a solution for you. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. 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