qwertylol Posted May 10, 2007 Share Posted May 10, 2007 $how_long = 5000 MsgBox ( 0, "ready?", "say never" ) walk_this_long ($how_long) Func walk_this_long ($how_long) AutoItSetOption ( "SendKeyDownDelay" ,$how_long ) Send ("+w") AutoItSetOption ( "SendKeyDownDelay" ,5 ) EndFunc This actually doesn't hold down both shift and w for 5 seconds. Link to comment Share on other sites More sharing options...
qwertylol Posted May 10, 2007 Author Share Posted May 10, 2007 I thought it would regard it as doing these two at the same time "+w" but apparently au3 decide to do "+" 2seconds and then "w" three seconds @_@ Link to comment Share on other sites More sharing options...
the_lord_mephy Posted May 10, 2007 Share Posted May 10, 2007 Send("{SHIFTDOWN}") AutoitSetoption("SendKeyDownDelay", 5000) Send("w") Autoitsetoption("Sendkeydowndelay", 5) Send("{SHIFTUP}") My site for HTML Help :)[quote name='Valik' date='Oct 15 2004, 12:29 PM']Maybe nobody is an "elite uber-coder" like me because thinking is a capital offense in today's online-world?[right][snapback]36427[/snapback][/right][/quote] 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