Need help with making a script.
Need help with making a script.
I basically just need a script that after pressing a toggle key it holds both Shift and W at the same time while also tapping G every 30 seconds. I hope this isn't too much of a hassle.
Re: Need help with making a script.
Welcome to this AutoHotkey forum!
Code: Select all
#Requires AutoHotkey v2.0
g := () => Send('g')
F3 Up:: SetTimer(g, 30000), Send('{Shift down}{w down}'), g(), SoundBeep(1500)
+F3 Up::SetTimer(g, 0), Send('{w up}{Shift up}') , SoundBeep(1000)
Re: Need help with making a script.
This seems to work for holding W but it still doesn't tap the g key for some reason, would it be possible just to make the script spam g every half second?.
Re: Need help with making a script.
Could you test the script in Notepad, to see if it works there? That tells you whether the script itself works.