AHK Script
Not sure if it'll work but high chance it might not
I've not had chance to do it my self as of yet so here you go
Made this to go with the WW2 Zombies trainer for people to sit in a corner and let it do its job to level you up
There is simply nothing more annoying then having to click yourself
Made this to go with the WW2 Zombies trainer for people to sit in a corner and let it do its job to level you up
There is simply nothing more annoying then having to click yourself
Programs needed
https://www.autohotkey.com/download/
I hope its alright linking this if not ill remove the link
-------------------------------------------------------------------------------------








Code:
; Home key to activate the macro
~Home::
KeyWait, Home
GetKeyState, HomeState, Home, T
If HomeState = D
{
ActivateScript = 1
}
else
{
ActivateScript = 0
}
return
~LButton::
if ActivateScript = 1
{
Loop
{
;Make sure CodWW2 window is the active window. Don't want weird mouse behaviour appearing at other window
IfWinActive, ahk_group ActiveWindow
{
GetKeyState, LButtonButtonState, LButton, P
If LButtonButtonState = D
{
Send, {LButton down}
Sleep, 71
Send, {LButton up}
}
If LButtonButtonState = U
{
;break the loop if physical state of LButton is up.
break
}
}
else
{
break
}
}
}
exit
return"

Thank you let me know your thoughts

