Code: Select all
~d::
Keywait,d
Send,w
Return
~a::
Keywait,a
Send,s
Return
First, this script is not working when im ingame holding right mouseclick button (aim) for some reason. When im not aiming it works fine.
My second problem is i dont want this script to work while im holding down "W" key (moving forward), is that possible? So it will only work while im pressing D or A without W being pressed.
Third can i control how fast W/S will be pressed after i release D/A key? It seems pretty fast but i dont know if i can make it faster by controling this number.
Fourth, can i control for how long this W/S will be pressed/released when i release D/A ?
Fifth i need this to work only on game window
Thanks.
This is my first time making an AHK script, i have experience with other kind of languages but im really lost on AHK, usually i would study and seek for a solution myself instead of asking for the end product, but i dont have the time right now for a new script engine and this is all need. Also i will be able to study and learn from this.
For u wondering why i need such a script, its because when u press W or S after moving sideways (A and D) u break inertia in this specific game im playing so u can turn sideways changing directions much faster.