WinkAHK Script

Posts 1–4 of 4 · Page 1 of 1
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


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
what does this script exactly do though because i dont have to click anyway just hold down mouse 1 with rapid fire
Quote Originally Posted by gmuzzy09 View Post
what does this script exactly do though because i dont have to click anyway just hold down mouse 1 with rapid fire
It's a script that goes with { https://www.mpgh.net/forum/showthread.php?t=1338368 } , it should be a auto click , I'm currently working on improving it now, you would simply put the time scale on the tool to {15.00} sit in a corner in the spawn and use unlimited ammo , and let it rank you up , recommend round is round 60 then restart , ill make a AHK soon to allow it to run along side this one to end the game and restart it for you
AHK Script
Not sure what you are asking exactly but if you trying a AHK script and want to do something inside the current directory try

A_WorkingDir
Posts 1–4 of 4 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?