Hello everybody!
I made a script for a flash game, but i'm stuck for something!
I would like this:
When i press the "A" key, the script press the left key for x ms
I know how to invert the keys but how to put a delay?
Excuse my french, i am.
Cordially
Press a key for x ms ?
Re: Press a key for x ms ?
Are you trying to remap the arrow keys to WASD?
Anyway, I'm not sure what you want, but here are some things you might want to read up on: SetKeyDelay, Sleep, KeyWait and HotKeys (the UP part).
Anyway, I'm not sure what you want, but here are some things you might want to read up on: SetKeyDelay, Sleep, KeyWait and HotKeys (the UP part).
Re: Press a key for x ms ?
If i press "A", it does the left arrow for 100ms (for exemple)
Re: Press a key for x ms ?
Could you guys help me for this? I'm a little bit lost
Re: Press a key for x ms ?
Many ways, maybe you want an autofire...
http://www.autohotkey.com/board/topic/6 ... re-thread/
http://www.autohotkey.com/board/topic/6 ... re-thread/
Who is online
Users browsing this forum: Bing [Bot], Google [Bot], JKJadan, Psych0p4th and 264 guests