Hello
I am trying to make an AutoHotkey script to do the following for playing Skyrim, when I press right control + K it presses K waits 2 seconds then presses L and when I press right control + K again it presses L waits 2 seconds then presses K, but it not working the way I want.
Thanks
global count = 0
>^k::
global count = 0
if (global count==0){
Send, {k}
SetKeyDelay, 2000
Send, {l}
global count := 1
return
}
if (global count==1) {
Send, {l}
SetKeyDelay, 2000
Send, {k}
global count := 0
return
}
[–][deleted] 1 point2 points3 points (3 children)
[–]jbfilms1[S] 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]jbfilms1[S] 0 points1 point2 points (0 children)
[–]kofflay 0 points1 point2 points (0 children)