Hi guys,
This might be simple to a few of you, but I cannot get this to work…
So, what I would like is the following to happen (in a loop):
Press X
100ms after it should press and hold right arrow for 5s
then press X again
Then repeat this 4 times, before it should do the same but with left arrow instead.
Could anyone help me write this script?
Help with writing a script
Re: Help with writing a script
This should accomplish what your asking.
[Mod edit: Added [code][/code] tags. Please use them yourself when posting code.]
Code: Select all
Function() {
Loop, 4{
Send {x}
Sleep, 100
Send {right down}
Sleep, 5000
Send {right up}
Send {x}
}
Loop, 4{
Send {x}
Sleep, 100
Send {left down}
Sleep, 5000
Send {left up}
Send {x}
}
}
[Mod edit: Added [code][/code] tags. Please use them yourself when posting code.]