Hi everyone,
I made a simple macro script for myself. I want to use it for the game Smite and it's function is to send a specific combination of keys once a hotkey is pressed (for example VEL for NumPad1). Since I want it to "spam" it if the key is held down I added a timer of 100 miliseconds. My problem now is that every time I hold down one of the hotkeys the combination is sent, but then after three times it appearently locks down the shift key??? It's nowhere in the script and also never pressed manually. It breaks the entire script and I have to reload it.
Also I need to clarify that I have absolutely no knowledge of ahk yet. This is my first project so please don't judge my code, tips however are highly apreciated.
I hope someone can help me, thanks in advance
--------CODE------
loop
{
IfWinNotActive, Smite
{
Suspend, On
}
else
{
Suspend, Off
}
}
NumPad0::
Send VSTBB
Sleep 100
return
NumPad1::
Send VEL
Sleep 100
return
NumPad2::
Send VET
Sleep 100
return
NumPad3::
Send VEJ
Sleep 100
return
Game Macro Issue Topic is solved
Re: Game Macro Issue
That's it, thanks a lot (Such an easy solution it's almost embarrassing xD)Rohwedder wrote:Hallo,
don't send capitals (Send VSTBB).
better:Code: Select all
Send {Shift down}vstbb{Shift up}
Who is online
Users browsing this forum: Bing [Bot], fiendhunter and 93 guests