It works completely fine, although it does not allow me to press Ctrl, Shift or Alt while its running. is there any way to prevent the script from touching the command keys? As in the script it does not use them at all.
Code: Select all
f9::
Loop
{
; IfWinExist, ahk_class LWJGL
Loop
{
ControlSend,, {%Place% down}, ahk_class LWJGL
Sleep 10
ControlSend,, {1 up}, ahk_class LWJGL
Sleep 500
ControlSend,, {d down}, ahk_class LWJGL
Sleep 100
ControlSend,, {d up}, ahk_class LWJGL
Sleep 500
ControlSend,, {2 down}, ahk_class LWJGL
Sleep 200
ControlSend,, {2 up}, ahk_class LWJGL
Sleep 50
ControlSend,, {3 down}, ahk_class LWJGL
Sleep 100
ControlSend,, {3 up}, ahk_class LWJGL
Sleep 100
ControlSend,, {%Place% up}{%Destroy% down}, ahk_class LWJGL
Sleep 100
ControlSend,, {%Destroy% up}, ahk_class LWJGL
Sleep 100
ControlSend,, {a down}, ahk_class LWJGL
Sleep 300
ControlSend,, {a up}, ahk_class LWJGL
Sleep 100
ControlSend,, {1 down}, ahk_class LWJGL
Sleep 100
ControlSend,, {%Place% up}, ahk_class LWJGL
}
Sleep 200
}
Return
[Mod action: Moved topic to the “Gaming” section. Please post questions about gaming in this sub-forum.]